edmiUserToGroupBN


 

EdmiError edmiUserToGroupBN(SdaiString groupName,
                              SdaiString userName);

Makes an EDMuser a member of 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.

 

 

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 = edmiUserToGroupBN ("SUPERVISOR", "JOHNNY")) {
 /* Error in operation */
 printf("\nError: %s in edmiUserToGroupBN\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 . . .

 

See also

Filter by label

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