Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Code Block
languagecpp
themeConfluence
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

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
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)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"