ChatUserHelperRegisterAndLoginChatUser Method (Boolean) |
Registers guest chat user. His nickname is generated automatically. If CMS User is logged in, guest is not registered and this CMS User is logged in.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntaxpublic static void RegisterAndLoginChatUser(
bool isHidden
)
Parameters
- isHidden
- Type: SystemBoolean
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 overridden.
Return Value
Type:
New chat user
See Also