GetOperationPerm
mixed CSocNetFeaturesPerms::GetOperationPerm( char type, mixed id, string feature, string operation );
The method returns access permissions for an operation. Static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
type | Object type: SONET_ENTITY_GROUP - group, SONET_ENTITY_USER - user. |
|
id | Object ID (user or group), or (from version 8.6.4) - array of object IDs. | |
feature | Name of extra features. | |
operation | Name of operation. |
Returned value
String, containing permissions for an operation. When (from version 8.6.4) an array of object IDs is passed in the ID parameter - an associative array is returned with object IDs as keys and values - access permissions for the operation.
© «Bitrix24», 2001-2024