The method adds users as social network group members (without invitation and confirmation).

For the result to be successful, current user must have the social network admin permissions.

When an extranet user is added, the social network group becomes available in the extranet (if it wasn't previously).

Call parameters

USER_IDUser ID (or array ID), which is/are added as group members.


// Add users with ID=10 and 21 to the social network group with ID=15

BX24.callMethod('sonet_group.user.add', {
    GROUP_ID: 15,
    USER_ID: [ 10, 21 ]

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