Account Object

The Account object represents a SiteCafe account.

Members Table

    The following table lists the members provided by the Account object.

    Properties Description
    ActivationDate Date of activation (first login).
    CreationDate Date of creation.
    CurAmount Current amount.
    CurDuration Remaining/spent surftime (depends on mode).
    Deactivated Whether this account is currently deactivated.
    ExpireDuration Expiry duration after a logout.
    ExpiryDate Date of expiration.
    Index Account index.
    LastLogin Date of last login.
    Mode Payment mode.
    Paid Whether payment occured.
    Persistent Whether this is a persistent account.
    ValidDuration Duration the account will be valid after the activation.
    Method Description
    Add Adds an amount.
    MergeAccount Merges this account with another one.

    This object is returned by the GetAccountByIndex or Item method. Use the Account object to modifiy or receive information about an account.

    The following example displays the persistent status of the first available account.

    <SCRIPT TYPE="text/javascript">
    account = SiteCafe.Server.Accounts.GetAccountByIndex(1);

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

Back to top