GetActivatedAccounts Method



 
The GetActivatedAccounts method returns a range of activated accounts.


Syntax

    [obj=] SiteCafe.Server.Accounts.GetActivatedAccounts(sTime, eTime,
           sAccount, maxCount)
    
Parameters
    sTime Long value that specifies the start time.
    eTime Long value that specifies the end time.
    sAccount Long value that specifies the start account.
    maxCount Long value that specifies the maximum number of accounts.
Return Value
    Returns an AccountsCol collection containing the specified accounts.
Remarks
    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.
Examples
    The following example displays the persistent status of the first active account.

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

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

Back to top