GetLogons Method

The GetLogons method returns logon and logoff dates.


    [obj=] SiteCafe.Server.Admins.Logons.GetLogons(index, sTime, eTime,
           start, maxCount, ascending)
    index Long value that specifies the admin index.
    sTime Long value that specifies the start time.
    eTime Long value that specifies the end time.
    start Long value that specifies the start logon.
    maxCount Long value that specifies the maximum number of logons.
    ascending Boolean value that specifies whether to return the logons ascending.
Return Value
    Returns an LogonsCol collection containing the specified logons.
    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 first logon date of the first admin.

    <SCRIPT TYPE="text/javascript">
    logons = SiteCafe.Server.Admins.Logons.GetLogons(1, 0, 0, 1, 1, true);

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

Back to top