Click or drag to resize
ChatOnlineUserHelper Class
Helper class for chat online users.
Inheritance Hierarchy
SystemObject
  CMS.ChatChatOnlineUserHelper

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public static class ChatOnlineUserHelper

The ChatOnlineUserHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetLoggedInChatUser
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.
Public methodStatic memberGetLoggedInChatUser(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.
Public methodStatic memberIsChatUserLoggedIn
Gets true if chat user is logged in or false if not. Hidden user counts as logged in.
Public methodStatic memberIsChatUserLoggedIn(Boolean)
Gets true if chat user is logged in or false if not.
Public methodStatic memberLogInChatUser(ChatUserInfo)
Logs in chat user. Insets him into session, memory and DB.
Public methodStatic memberLogInChatUser(ChatUserInfo, Boolean)
Logs in chat user. Insets him into session, memory and DB.
Public methodStatic memberLogInCurrentCMSUser
Logs into chat current CMS User.
Public methodStatic memberLogInCurrentCMSUser(Boolean)
Logs into chat current CMS User.
Public methodStatic memberLogOutOfChatCurrentUser
Logs current user out of chat.
Top
See Also