ChatUserHelper RegisterAndLoginChatUser Method (String, Boolean)Kentico 8.0 API Reference
If CMS User is currently logged in, it logs him into chat. Parameter nickname is ignored in that case. If CMS User is not logged in, user is registered as anonymous chat user with nickname set to parameter nickname. Does nothing if chat user is currently logged in.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

nickname
Type: OnlineSystem String
If user is not logged in, he will be registered as anonymous user with this nickname.
isHidden
Type: OnlineSystem Boolean
If false, this user will be shown in online users on live site. If user was logged in as hidden before and now is logged in as 'not hidden' value will be overriden.
See Also