Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] AccountsCol.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns an Account object representing the specified account.
Remarks
    Collection-index values are 1-based.
Examples
    The following example displays the persistent status of the first active account.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    accounts = SiteCafe.Server.Accounts.GetAccounts(0, 0, 1, 10, true);
    alert(accounts.Item(1).Persistent);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top