# OnUserListReceived Event Fires when a user list has been received from the server. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    Chat.OnUserListReceived = handler
Remarks The user list can be accecces using the GetUser or GetUsers method. The object that caused the event can be referenced in the event function using "this". Examples The following example displays an alert window when a user list has been received.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.Chat.OnUserListReceived = OnUserListReceived;
    function OnUserListReceived()
    {
       alert("User list received");
    }
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top