SYNTAX:
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;
To be completed.
The xpxGetInstanceAccessRights function all protection settings of a protected instance.
Argument:: |
Description: |
currInst |
A 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. |
ownerId |
Variable that will receive the instance Id of the EDMuser that owns the protected instance. Will be zero if the protected instance has no owner. |
groupOwnerId |
Variable 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. |
protection |
Returnes the protection defined for the specified protected instance. The value is a bitwise OR of any combination of the symbols listed below. |
administrators |
Variable 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. |
accessFor |
Null-terminated buffer of userIds and/or groupIds, each combined with their individually set access rights code. The buffer will be allocated by EDM. |
accessForAccessRights |
|
This function is equivalent to the EDMinterface function edmiGetInstanceAccessRights