Documentation

TransferModerator2Member

bool
CSocNetUserToGroup::TransferModerator2Member(
 int userID,
 int groupID,
 array arRelationID,
 bool currentUserIsAdmin
);

Method removes users from workgroup moderator position. Non-static method.

Parameters

Parameter Description Available from version
userID User ID.
groupID Workgroup ID.
arRelationID Array with codes for associations between workgroup and users.
currentUserIsAdmin Flag for marking user as administrator. Deprecated from version 22.100.0 Access permissions are no longer verified inside the method, and now verified only via external methods

Return value

True on success and false otherwise.



© «Bitrix24», 2001-2024
Up