Documentation

CSocNetUserPerms

CSocNetUserPerms class is used to handle access permissions for user profile.

Class methods

MethodsDescriptionAvailable from version
DeleteDeletes a record.
GetByIDReturns record parameters.
UpdateUpdates record parameters.
AddCreates new record.
GetListReturns list of records.
GetOperationPermsReturns the required access permissions for completing the specified operation with a target user profile.
CanPerformOperationChecks if a user can perform specified operation with a target user profile.
InitUserPermsInitializes an array of user access permissions to perform operations with a target user profile.
SetPermModifies access permission for an operation, if available. Otherwise, adds a new record.


© «Bitrix24», 2001-2024