edmiDeleteUser
EdmiError edmiDeleteUser(SdaiInstance userId);
Deletes the specified EDMuser from the EDMdatabase. An EDMuser cannot be deleted from the database as long as the user is logged in, or the user owns any data in the database. Use edmiChangeInstanceOwner to remove or to change the ownership of instances in the database. This command is only permitted for the superuser. This command is only permitted for the superuser.
Arguments
Type | Name | Comment |
SdaiInstance | userId | A numeric instanceID that uniquely identifies the EDMuser instance in the EDMdatabase. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Â
Example
Â
 EdmiError rstat; SdaiUser userId; ... if (rstat = edmiDeleteUser(userId)) { /* Error in operation */ printf("\nError: %s in edmiDeleteUser\n", edmiGetErrorText(rstat)); goto error; } printf("User %s deleted from the database\n", userId); . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â