Returns 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.


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

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




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-2021, «Bitrix Inc.», 2021