Click or drag to resize
ChatOnlineUserHelperGetLoggedInChatUser Method (Boolean)
Gets currently logged in chat user. It checks for various edge cases like CMSUser logout, change of CMSUser, etc. Returns null if user is not logged in.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public static ChatUserInfo GetLoggedInChatUser(
	out bool isHidden
)

Parameters

isHidden
Type: SystemBoolean
Is set to true if currently logged in user is hidden (should not be displayed in the list of online users). Is set to false if user is not hidden or user was not found.

Return Value

Type: ChatUserInfo
See Also