Click or drag to resize
ChatRoomHelperChangeChatRoom 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: 9.0.0
Syntax
C#
public static ChatRoomData ChangeChatRoom(
	int roomID,
	string displayName,
	bool isPrivate,
	string password,
	bool allowAnonym,
	string description,
	bool hashPassword
)

Parameters

roomID
Type: SystemInt32
Room ID to change
displayName
Type: SystemString
New display name
isPrivate
Type: SystemBoolean
New is private state
password
Type: SystemString
New password. If it is null, password is not changed
allowAnonym
Type: SystemBoolean
New allow anonym
description
Type: SystemString
New description
hashPassword
Type: SystemBoolean
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