edmiUserFromGroupBN


 

EdmiError edmiUserFromGroupBN(SdaiString groupName,
                                SdaiString userName);

Removes an EDMuser from an EDMgroup. EDMusers may be members of any number of EDMgroups. Access to database objects may be set for EDMgroups as well as for EDMusers. Access Checking will only be performed if the EDMuser is connected with an EDMgroup.This command is only permitted for the superuser.

Arguments


TypeNameComment
SdaiString

groupName

Specifies the name of the EDMgroup to remove the specified EDMuser from. EDMgroup names are case insensitive.

SdaiString

userName

Specifies the name of the EDMuser to remove from the EDMgroup specified in the <groupName> argument. 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 = edmiUserFromGroupBN ("SUPERVISOR", "JOHNNY")) {
 /* Error in operation */
 printf("\nError: %s in edmiUserFromGroupBN\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 . . .

 

See also

Filter by label

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