SiteKiosk Documentation
One Step Back

SetProperties Method




The SetProperties method sets a list of user properties.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    SetProperties(userIndex, nameList, valueList)
    
Parameters
    userIndexLong value that specifies the user index.
    nameListArray of Strings that specifies the list of property names.
    valueListArray of Strings that specifies the list of values.
Return Value
    None.
Remarks
    Not supported when IE9 or higher is installed, use SetProperty instead.
Examples
    The following example sets the user properties 'anyProperty1' and 'anyProperty2' of the first user.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    nameList = new Array("anyProperty1", "anyProperty2");
    valueList = new Array("value1", "value2");
    SiteCafe.SetProperties(1, nameList, valueList);
    </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 -