Documentation

BanUser

bool
CSocNetUserRelations::BanUser(
 int senderUserID,
 int targetUserID
);

The method includes user into a blacklist of another user. Non-static method.

Parameters

Parameter Description Available from version
senderUserID User who includes another user into a blacklist.
targetUserID User who is blacklisted.

Returned value

Returns true on success and false otherwise.



© «Bitrix24», 2001-2024
Up