Documentation

Add

int
CSocNetFeaturesPerms::Add(
 array arFields
);

The method creates new access permission. Static method.

Note: the method CSocNetFeaturesPerms::SetPerm can be also used to set access permission parameters.

Parameters

Parameter Description Available from version
arFields Array of parameter values. Available keys:
FEATURE_ID - extra features ID,
OPERATION_ID - operation ID,
ROLE - role.

Returned value

Inserted entry ID.

See Also



© «Bitrix24», 2001-2024