ChatHelper GetCMSDeskChatUserField Method (Control, Int32, String, Boolean)Kentico 8.0 API Reference
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.0.0.0 (8.0.5239.26125)

Parameters

control
Type: OnlineSystem.Web.UI Control
Script for opening new window will be added to this control
chatUserID
Type: OnlineSystem Int32
ID of chat user which will be displayed
chatUserNickname
Type: OnlineSystem String
Nickname of chat user which will be displayed
isAnonymous
Type: OnlineSystem Boolean
True if chat user is anonymous

Return Value

Type: OnlineString
String representation of this chat user
See Also