# GetProperties Method The GetProperties method requests a list of user properties. Syntax
    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    GetProperties(userIndex, nameList)
Parameters
userIndex | Long value that specifies the user index.
nameList | Array of Strings that specifies the list of property names.
Return Value None. Remarks None. Examples The following example requests and displays the user properties 'anyProperty1' and 'anyProperty2' of the first user.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.OnPropertyReceived = OnPropertyReceived;
    function OnPropertyReceived(userIndex, status, name, value)
    {
       alert("Name: " + name + ", Value: " + value);
    }
    nameList = new Array("anyProperty1", "anyProperty2");
    SiteCafe.GetProperties(1, nameList);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top