Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
FUNCTION xpxGetInstanceAccessRights (currInst                  : GENERIC;
                                     VAR ownerId,              : GENERIC;
                                     VAR groupOwnerId          : GENERIC;
                                     VAR protection            : INTEGER;
                                     VAR administrators        : SET OF EDMuserAndEDMgroup;
                                     VAR accessFor             : LIST OF EDMuserAndEDMgroup;
                                     VAR accessForAccessRights : LIST OF INTEGER)
                                     status                    : INTEGER;

The xpxGetInstanceAccessRights function all protection settings of a protected instance.
 

...

Argument::

...

Arguments

...

Returnes
1TypeNameComment
2GENERICcurrInstA numeric instanceID that uniquely identifies a protected instance in the EDMdatabase. This may be any protected instance in the database such as e.g repositories and models.
3GENERICownerIdVariable that will receive the instance Id of the EDMuser that owns the protected instance. Will be zero if the protected instance has no owner.
4GENERICgroupOwnerIdVariable that will receive the instance Id of the EDMgroup that owns the protected instance. Will be zero if the protected instance has no owner group.
5INTEGERprotection

Returns the protection defined for the specified protected instance. The value is a bitwise OR of any combination of the symbols listed below.

OWNER_READ, OWNER_WRITE, OWNER_CREATE, OWNER_EXECUTE, OWNER_DELETE, OWNER_NONE, GROUP_READ, GROUP_WRITE, GROUP_CREATE, GROUP_EXECUTE, GROUP_DELETE, GROUP_NONE, PUBLIC_READ, PUBLIC_WRITE, PUBLIC_CREATE, PUBLIC_EXECUTE, PUBLIC_DELETE, PUBLIC_NONE

6SET OF EDMuserAndEDMgroupadministratorsVariable that will receive a null-terminated buffer with a list of all the administrators of the protected instance. Administrators may be both EDMusers and EDMgroups. The buffer will be allocated by EDM.
7LIST OF EDMuserAndEDMgroupaccessFor

Null-terminated buffer of userIds and/or groupIds, each combined with their individually set access rights code. The buffer will be allocated by EDM.

The access rights code is a bitwise OR of any combination of the symbols below:

DELETE_ACCESS, EXECUTE_ACCESS, CREATE_ACCESS, WRITE_ACCESS, READ_ACCESS

8LIST OF INTEGERaccessForAccessRights 

Return Value

...

Insert excerpt
US:_r_XPX_Return_Value
US:_r_XPX_Return_Value
nopaneltrue

Options

...

 
This function is equivalent to the EDMinterface function edmiGetInstanceAccessRights

Example

...

Code Block
languagecpp
<Missing Example>

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "extension_schema" and parent = "5636522"