Verifies whether the current user has permission for social network group operations by calling the CSocNetFeaturesPerms::CurrentUserCanPerformOperation() function

Function parameters

Parameter Description
GROUP_ID Social network group ID.
FEATURE Functionality symbol code.
OPERATION Operation symbol code.

If the user has permission for operation, returns true, returns false if the user has no permission, and an error message if the parameters are invalid.


// Get list of groups of the current user

BX24.callMethod('sonet_group.feature.access', {
 'GROUP_ID': 1,
 'FEATURE': 'blog',
 'OPERATION': 'write_post'




User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2018, «Bitrix Inc.», 2018