ChatUserHelperRegisterAndLoginChatUser Method (String) |
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.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
Syntaxpublic static void RegisterAndLoginChatUser(
string nickname
)
Parameters
- nickname
- Type: SystemString
If user is not logged in, he will be registered as anonymous user with this nickname.
See Also