Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
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

...

TypeNameComment
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
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 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)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"