...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiDeleteUserBN(SdaiString userName);
|
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.
...
Arguments
...
Type | Name | Comment |
SdaiString | UserName | Specifies the name of the EDMuser to delete from the EDMdatabase. EDMuser names are case insensitive. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
EdmiError rstat; ... if (rstat = edmiDeleteUserBN("hkd")) { |
...
/* Error in operation */ |
...
printf("\nError: %s in edmiDeleteUserBN\n", |
...
edmiGetErrorText(rstat)); |
...
goto error; |
...
} printf("User hkd was deleted from the database\n"); |
...
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|