...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
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 (Content by label) | ||||||
---|---|---|---|---|---|---|
|