SetProperties Method



 
The SetProperties method sets a list of user properties.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    SetProperties(userIndex, nameList, valueList)
    
Parameters
    userIndex Long value that specifies the user index.
    nameList Array of Strings that specifies the list of property names.
    valueList Array of Strings that specifies the list of values.
Return Value
    None.
Remarks
    None.
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 top