Click or drag to resize
ChatRoomHelper.ChangeChatRoom Method (Int32, String, Boolean, String, Boolean, String, Boolean)
Changes chat room. Properly handles changing from public to private state. Invalidates rooms cache. Properties ChatRoomIsSupport and ChatRoomName are not changed.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
public static ChatRoomData ChangeChatRoom(
	int roomID,
	string displayName,
	bool isPrivate,
	string password,
	bool allowAnonym,
	string description,
	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
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