Documentation

IsOnLine

bool
CSocNetUser::IsOnLine(
 int userID
);

The method checks if user is currently visiting a site. The user is currently onsite, when this user performed any actions during last 2 minutes. Static method.

Parameters

Parameter Description Available from version
userID User ID.

Returned value

Returns true if user is currently onsite. Otherwise returns false.



© «Bitrix24», 2001-2024