Click or drag to resize
ChatRoomUserHelperJoinUserToRoom Method
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: 12.0.0
Syntax
C#
public static void JoinUserToRoom(
	int roomID,
	ChatUserInfo chatUser,
	string password,
	bool hashPassword
)

Parameters

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