SetProperty Method
The SetProperty method sets a user property.
Syntax
SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
SetProperty(userIndex, name, value)
|
Parameters
userIndex |
Long value that specifies the user index. |
name |
String that specifies the name of the property. |
value |
String that specifies the value. |
Return Value
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 top