Documentation

sonet_group.user.delete

The method allows deleting user/users from a social network group.

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

When the current user role is a group owner, this user cannot be deleted from this group by this method.

Call parameters

ParameterDescription
GROUP_IDGroup ID.
USER_IDUser ID (or ID array) that is/are deleted from a group.

Example

// Delete users with ID=10 and 21 from the social network group with ID=15

BX24.callMethod('sonet_group.user.delete', {
    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