edmiDeleteUserBN


 

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


TypeNameComment
SdaiString

UserName

Specifies the name of the EDMuser to delete from the EDMdatabase. EDMuser names are case insensitive.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

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

There are no items with the selected labels at this time.

Â