# Code Object The Code object represents a SiteCafe code. Members Table The following table lists the members provided by the Code object.
Members
Properties | Description
AccountIndex | Account index number.
Group | Code group index number.
Index | Index number.
Name | Code name.
Remarks This object is returned by the GetCodeByAccount, GetCodeByIndex, GetCodeByName, or Item method. Use the Codes object to modifiy or receive information about a code. Examples The following example displays the name of the first available code.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    code = SiteCafe.Server.Codes.GetCodeByIndex(1);
    alert(code.Name);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top