Documentation

CanUserReadGroup

bool
CSocNetGroup::CanUserReadGroup(
 int userID,
 int groupID
);

The method checks if user can view a group. The user can view an open group, or when this user is a member of this group. Static method.

Parameters

Parameter Description Available from version
userID User ID
groupID Group ID

Returned value

Returns true, when the user can view the group. Otherwise, returns false.



© «Bitrix24», 2001-2024
Up