SiteKiosk Documentation
One Step Back

SetProperty Method




The SetProperty method sets a user property.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    SetProperty(userIndex, name, value)
    
Parameters
    userIndexLong value that specifies the user index.
    nameString that specifies the name of the property.
    valueString that specifies the value.
Return Value
    None.
Remarks
    Note that the value must be sent to the server as a string, even if it is a numeric value.
Examples
    The following example sets the user property 'anyProperty' of the first user.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.SetProperty(1, "anyProperty", "value");
    </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 -