# ChatUser Object The ChatUser object represents a chat user. Members Table The following table lists the members provided by the ChatUser object.
Members
Properties | Description
Nickname | Nickname of the user.
SessionIndex | Session index.
UserIndex | User index.
Remarks This object is returned by the Server.Chat.GetUser, SiteCafeClient.Chat.GetUser, or Server.Chat.ChatUsersCol.Item method or SiteCafeClient.Chat.OnUserConnect, SiteCafeClient.Chat.OnUserDisconnect, SiteCafeClient.Chat.OnUserInfoChanged event. Use the ChatUser object to receive information about a chat user. Examples The following example displays the nickname of the first chat user.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    user = SiteCafe.Server.Chat.GetUser(1);
    alert(user.Nickname);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top