SiteKiosk Documentation
One Step Back

GetAccountByIndex Method




The GetAccountByIndex method returns an account by index.


Syntax

    [obj=] SiteCafe.Server.Accounts.GetAccountByIndex(index)
    
Parameters
    indexLong value that specifies the account index.
Return Value
    Returns an Account object representing the specified account.
Remarks
    None.
Examples
    The following example displays the current amount of the first account.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    account = SiteCafe.Server.Accounts.GetAccountByIndex(1);
    alert(account.CurAmount);
    </SCRIPT>
    

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

Back to topBack to top

© 1997-2011 PROVISIO - Aventura, USA & Muenster, Germany -