Click or drag to resize
ChatOnlineUserInfoProviderGetOnlineUserByToken Method
Gets online user by token set in Login. User has to be logged in (Join time not null) and be logged in on the current site.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public static ChatOnlineUserInfo GetOnlineUserByToken(
	string token,
	int siteID
)

Parameters

token
Type: SystemString
Token
siteID
Type: SystemInt32
Only users online on this site will be searhed

Return Value

Type: ChatOnlineUserInfo
See Also