Click or drag to resize
ChatHelperGetCMSDeskChatUserField Method (Control, ChatUserInfo)
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
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
public static string GetCMSDeskChatUserField(
	Control control,
	ChatUserInfo chatUser
)

Parameters

control
Type: System.Web.UIControl
Script for opening new window will be added to this control
chatUser
Type: CMS.ChatChatUserInfo
ChatUser whos nickname will be returned

Return Value

Type: String
String representation of this chat user
See Also