GetAccounts Method

The GetAccounts method returns a range of accounts.


    [obj=] SiteCafe.Server.Accounts.GetAccounts(sTime, eTime, start,
           maxCount, activated)
    sTime Long value that specifies the start time.
    eTime Long value that specifies the end time.
    start Long value that specifies the start account.
    maxCount Long value that specifies the maximum number of accounts.
    activated Boolean value that specifies whether to return only active accounts.
Return Value
    Returns an AccountsCol collection containing the specified accounts.
    The start and/or end time will be ignored if they are 0. Otherwise they are specified by the return value of the Date.getVarDate method divided by 1000.
    The following example displays the persistent status of the first active account.

    <SCRIPT TYPE="text/javascript">
    accounts = SiteCafe.Server.Accounts.GetAccounts(0, 0, 1, 10, true);

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

Back to top