edmiDeleteGroupBN


 

EdmiError edmiDeleteGroupBN(SdaiString groupName);

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
SdaiString

groupName

Specifies the name of the EDMgroup that will be deleted from the EDMdatabase. EDMgroup 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 = edmiDeleteGroupBN ("eConstuct")) {
 /* Error in operation */ 
 printf("\nError in edmiDeleteGroupBN: %s\n",
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 . . .

 

See also

Filter by label

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

Â