# Logons Object The Logons object provides access to an admin's login and logoff dates. Members Table The following table lists the members provided by the Logons object.
Members
Methods | Description
GetLogons | Returns logon and logoff dates.
Events | Description
OnAdminLogonChanged | Fires when an admin's login or logoff dates changed.
Remarks This object is available through the object Admins. Use the Logons object to receive an admin's login and logoff dates. Examples The following example displays the first logon date of the first admin.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    logons = SiteCafe.Server.Admins.Logons.GetLogons(1, 0, 0, 1, 1, true);
    alert(logons.Item(1).LogonDate);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top