Permissions - access permissions management.

MethodDescription Available from version
createWithUserIdCreates class instance for specific user.
createWithCurrentUserCreates class instance for current user.
getPermissionReturns access permission code, based on available user permissions.
canPerformReturns true when user can execute an action with specific entity.
getNormalizedPermissionsReturns normalised array of permissions.
getUserIdReturns user ID.
getActionNameReturns action name using its ID.
getEntityNameReturns entity name by its ID.
getPermissionNameReturns permissions name by its ID.
canModifyLinesChecks access permission MODIFY in ENTITY_LINE.
canModifySettings Checks access permission MODIFY in ENTITY_SETTINGS.

© «Bitrix24», 2001-2024