Documentation

UnBanMember

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

The method excludes user from a workgroup blacklist. Non-static method.

Parameters

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

Returned value

Returns true on success and false otherwise.



© «Bitrix24», 2001-2024