Documentation

IsFriends2

bool
CSocNetUserRelations::IsFriends2(
 int firstUserID,
 int secondUserID
);

The method checks if the indicated users are friends of a friend, i. e. users have at least one mutual friend. Non-static method.

Parameters

Parameter Description Available from version
firstUserID First user ID.
secondUserID Second user ID.

Returned value

Returns true when users have a mutual friends. Otherwise returns false.



© «Bitrix24», 2001-2024
Up