GetAccounts Method
The GetAccounts method returns a range of accounts.
Syntax
[obj=] SiteCafe.Server.Accounts.GetAccounts(sTime, eTime, start,
maxCount, activated)
|
Parameters
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.
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.GetAccounts(0, 0, 1, 10, true);
alert(accounts.Item(1).Persistent);
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top