Documentation

BanMember

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

The method includes user in to a workgroup blacklist. Non-static method.

Parameters

Parameter Description Available from version
userID User ID, who performs the blacklistting action.
groupID Workgroup ID.
arRelationID Array of binding IDs between workgroup and users.
currentUserIsAdmin Flag, specifying if the user, who performs the blacklistting - is an administrator.

Returned value

Returns true on success and false otherwise.



© «Bitrix24», 2001-2024