GetUser Method



 
The GetUser method returns a chat user.


Syntax

    [obj=] SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
           Chat.GetUser(index)
    
Parameters
    index Long value that specifies the user index.
Return Value
    Returns a ChatUser object representing the specified user.
Remarks
    None.
Examples
    The following example displays the nickname of the first chat user.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    user = SiteCafe.Chat.GetUser(1);
    alert(user.Nickname);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top