# AccountIndex Property The AccountIndex property contains the index number of the code's account. Syntax
    [long=] Code.AccountIndex
Possible Values
    Long value that retrieves the index.
The property is read only. Remarks None. Examples The following example displays the account index number of the first available code.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    code = SiteCafe.Server.Codes.GetCodeByIndex(1);
    alert(code.AccountIndex);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top