Click or drag to resize
ChatUIHelperGetCMSDeskChatUserFieldInternal Method
Gets string representation which can be used to display chat user in CMS Desk. If user is not anonymous, returned string is a HTML code which contains anchor to open user's details in new window. If user is anonymous, returned string will be simply his nickname. Nickname will be always HTML encoded.

Namespace: CMS.Chat.Web.UI
Assembly: CMS.Chat.Web.UI (in CMS.Chat.Web.UI.dll) Version: 11.0.0
Syntax
C#
protected virtual string GetCMSDeskChatUserFieldInternal(
	Control control,
	int chatUserID,
	string chatUserNickname,
	bool isAnonymous
)

Parameters

control
Type: System.Web.UIControl
Script for opening new window will be added to this control
chatUserID
Type: SystemInt32
ID of chat user which will be displayed
chatUserNickname
Type: SystemString
Nickname of chat user which will be displayed
isAnonymous
Type: SystemBoolean
True if chat user is anonymous

Return Value

Type: String
String representation of this chat user
See Also