Bitrix24 REST API

sonet_group.feature.access

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, return true, return false if the user has no permission, and an error message if the parameters are invalid..

Example

// Get list of groups of the current user

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

Request:

https://mydomain.bitrix24.com/rest/sonet_group.feature.access.json?auth=52423d4a5f19f5f964f9b4e96a925cfa&GROUP_ID=1&FEATURE=blog&OPERATION=write_post

Response:

{"result":true}


User comments

Comments by users are not official documentation. Responsibility for use of the comments are born by users themselves.

The user comments section is not intended as a request box or training area, but rather for specific usage examples. For more general inquiries, please refer to link.

Comments may be added only by registered users and appear after moderation.
© 2001-2017 Bitrix, Inc. Bitrix® is a registered trademark of Bitrix, Inc. Powered by Bitrix Site Manager