edmiUserFromGroup
EdmiError edmiUserFromGroup(SdaiInstance groupId, SdaiInstance userId);
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
Type | Name | Comment |
SdaiInstance | GroupId | A numeric groupID that uniquely identifies the edm_group instance in the EDMdatabase |
SdaiInstance | UserId | A numeric userID that uniquely identifies the edm_user instance in the EDMdatabase that defined the actual EDMuser. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Options
Example
EdmiError rstat; SdaiUser myUserId; SdaiGroup groupId; . . . rstat = edmiGetMyUserId(&myUserId); rstat = edmiGetGroupBN("SUPERVISOR", &groupId); . . . if (rstat = edmiUserFromGroup(groupId, myUserId)) { /* Error in operation */ printf("\nError: %s in edmiUserFromGroup\n", edmiGetErrorText(rstat)); goto error; } . . .
See also
Filter by label
There are no items with the selected labels at this time.