GetProperty Method



 
The GetProperty method requests a user property.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    GetProperty(userIndex, name)
    
Parameters
    userIndex Long value that specifies the user index.
    name String that specifies the name of the property.
Return Value
    None.
Remarks
    None.
Examples
    The following example requests and displays the user property 'anyProperty' 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("Value: " + value);
    }
    SiteCafe.GetProperty(1, "anyProperty");
    </SCRIPT>
    

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

Back to top