Permissions
Permissions - access permissions management.
Method | Description | Available from version |
---|---|---|
createWithUserId | Creates class instance for specific user. | |
createWithCurrentUser | Creates class instance for current user. | |
getPermission | Returns access permission code, based on available user permissions. | |
canPerform | Returns true when user can execute an action with specific entity. |
|
getNormalizedPermissions | Returns normalised array of permissions. | |
getUserId | Returns user ID. | |
getActionName | Returns action name using its ID. | |
getEntityName | Returns entity name by its ID. | |
getPermissionName | Returns permissions name by its ID. | |
canModifyLines | Checks access permission MODIFY in ENTITY_LINE . |
|
canModifySettings | Checks access permission MODIFY in ENTITY_SETTINGS . |
© «Bitrix24», 2001-2024