SiteKiosk Documentation
One Step Back

GetProperty Method




The GetProperty method requests a user property.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    GetProperty(userIndex, name)
    
Parameters
    userIndexLong value that specifies the user index.
    nameString 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -