Bitrix24 REST API

sonet_group.user.get

Return array of social network group participants by calling CSocNetUserToGroup::GetList(), in this case the group access permissions of the current user are verified.

Each participant is represented by an array with the following fields:

  • USER_ID - User ID
  • ROLE - User role in the group:
    • SONET_ROLES_OWNER (A) - Owner,
    • SONET_ROLES_MODERATOR (E) - Moderator,
    • SONET_ROLES_USER (K) - User

Function parameters

Parameter Description
ID Group ID of the group whose participants are needed.

Example

// Get a list participants of the social network group ID=15

BX24.callMethod('sonet_group.user.get', {
 'ID': 15
});

Request:

https://mydomain.bitrix24.com/rest/sonet_group.user.get.json?auth=67df5afc8ce59732e4a21ed3e336979f&ID=15

Response:

{"result":[{"USER_ID":"1","ROLE":"A"}]}


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