Documentation

sonet_group.setowner

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.

Example

BX24.callMethod('sonet_group.setowner', {
    'GROUP_ID': 11,
   'USER_ID': 2
});
© «Bitrix24», 2001-2024