Versions Compared

Key

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

...

 

Code Block
languagecpp
themeConfluence
EdmiError edmiDeleteGroup(SdaiInstance groupId);

Deletes the specified EDMgroup from the EDMdatabase.

...

An EDMgroup cannot be deleted from the EDMdatabase as long as an EDMuser is connected to the EDMserver with this EDMgroup account. Neither can it be deleted if the EDMgroup is the owner group of any object in the database. If an EDMuser has created repositories, models or instances in the database when connected with the specified EDMgroup account, the created objects will be owned by that EDMgroup. As long as such objects exists in the database, the EDMgroup may not be deleted. Use edmiChangeInstanceOwner to remove or to

...

transfer ownership to another EDMgroup.

...

 

...

This command is only permitted for the superuser.

...

Arguments

...

TypeNameComment
SdaiInstance

groupId

A numeric groupID that uniquely identifies the edm_group instance to be deleted in the EDMdatabase.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

OptionComment

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiGroup groupId;
 ...
 rstat = edmiGetGroupBN("SUPERVISOR", &groupId);

...


 if (rstat = edmiDeleteGroup (groupId)) {

...


 /* Error in operation */

...

 
 printf("\nError in edmiDeleteGroup: %s\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 . . .

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"