Retrieves an access right for a specified object.
Note: If the full access right is set on the parent object, the
getAccessRight() method for the child object will retrieve
the full access right even if there is a hide override set for the child
object type. It is the caller’s responsibility to evaluate the returned
APIAccessRight’s value and overrides to determine the effective access level for the
child object.
Output / Response
Returns the access right for the specified object.
API Call:
APIAccessRight getAccessRight( long entityId, long
userId )
Parameter | Description |
---|---|
entityId | The object ID of the entity to which the access right is assigned. |
userId | The object ID of the user to whom the access right is applied. |