Start Page>SiteCafe Object>Server Object>Accounts Object # Accounts Object The Accounts object handles the SiteCafe accounts. Members Table The following table lists the members provided by the Accounts object.
Members
Methods | Description
Create | Creates an account.
Delete | Deletes an account.
GetAccountByIndex | Returns an account by index.
GetAccounts | Returns a range of accounts.
GetActivatedAccounts | Returns a range of activated accounts.
GetExpiredAccounts | Returns a range of expired accounts.
Events | Description
OnAccountChanged | Fires when an account changed.
Remarks This object is available through the object Server. Use the Accounts object to handle SiteCafe accounts. Examples The following example displays the activation date of the first SiteCafe account.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteCafe.Server.Accounts.GetAccountByIndex(1).ActivationDate);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top