Click or drag to resize
ChatRoomHelper.ChangeChatRoom Method (Int32, String, Boolean, String, Boolean, String, Nullable<Boolean>, String, Boolean)
Changes chat room. Properly handles changing from public to private state. Invalidates rooms cache.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax
C#
public static ChatRoomData ChangeChatRoom(
	int roomID,
	string displayName,
	bool isPrivate,
	string password,
	bool allowAnonym,
	string description,
	Nullable<bool> isSupport,
	string codeName,
	bool hashPassword
)

Parameters

roomID
Type: System.Int32
Room ID to change
displayName
Type: System.String
New display name
isPrivate
Type: System.Boolean
New is private state
password
Type: System.String
New password. If it is null, password is not changed
allowAnonym
Type: System.Boolean
New allow anonym
description
Type: System.String
New description
isSupport
Type: System.Nullable<Boolean>
New is support state (is not changed if null)
codeName
Type: System.String
New code name (is not changed if null)
hashPassword
Type: System.Boolean
If true, password is not hashed yet and should be hashed automatically; if false, hashing was handled by caller

Return Value

Type: ChatRoomData
Changed chat room
See Also