edmiDeleteAccessRights
EdmiError edmiDeleteAccessRights(SdaiAppInstance currInst, SdaiInstance userORgroupId);
Revokes individually set access rights from an EDMuser or an EDMgroup. Owners and administrators can not have their access rights increased or reduced by individual access rights. Only owners, administrators and superuser may use this function.
Arguments
Type | Name | Comment |
SdaiAppInstance | CurrInst | A numeric instanceID that uniquely identifies a protected instance. |
SdaiInstance | UserORgroupId | A numeric instanceID that uniquely identifies an EDMuser or EDMgroup instance in the EDMdatabase from which granted individual access rights shall be revoked. |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.
Â
Options
 Â
Â
Example
Â
 EdmiError rstat; SdaiRepository repId; SdaiUser userId; SdaiUnsignedInt access; rstat = edmiGetRepository("SECRET_ACCOUNTS", &repId); rstat = edmiGetUser("EVA_JOLY", &userId); if (rstat = edmiDeleteAccessRights(repId, userId)) { /* Error in operation */ printf("\nError in edmiDeleteAccessRights: %s\n", edmiGetErrorText(rstat)); goto error; } . . .
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â