This method changes a social network group owner. It can be executed either by social network administrator or by the current group owner.

Parameters: GROUP_ID - group ID, owner of which is being changed and USER_ID - new owner ID.

Returns true on success.


BX24.callMethod('sonet_group.setowner', {
    'GROUP_ID': 11,
   'USER_ID': 2

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