Create Method
The Create method creates a code.
Syntax
[long=] SiteCafe.Server.Codes.Create(name, accIndex, GrpIndex)
|
Parameters
name |
String that specifies the code name. |
accIndex |
Long value that specifies the account index. |
GrpIndex |
Long value that specifies the group index. |
Return Value
Returns a Long value containing the code index.
Remarks
Examples
The following example creates a new code.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
codeIndex = SiteCafe.Server.Codes.Create("NewCode", 1, 1);
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top