ChatRoomUserHelper JoinUserToRoom Method Kentico 8.1 API Reference
Adds (joins) user to this room. If user is already online, it does nothing. It sets user's LastChecking to Now.

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

Parameters

roomID
Type: OnlineSystem Int32
Room ID
chatUser
Type: CMS.Chat ChatUserInfo
Chat user to add
password
Type: OnlineSystem String
Entrance password to this room (checked if room has password set).
hashPassword
Type: OnlineSystem Boolean
True if password should be hashed before joining. If false, password is already hashed.
See Also