OnAdminLogonChanged Event



 
Fires when an admin's login or logoff dates changed.


Syntax

    SiteCafe.Server.Admins.Logons.OnAdminLogonChanged = handler
    
Parameters
    index Long value that contains the admin index.
    flags Long value that contains the change flags.
Remarks
    Possible flags are:

    1 : inserted
    2 : updated
    3 : deleted

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the index and flags when an admin's login or logoff dates changed.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.Server.Admins.Logons.OnAdminLogonChanged = OnAdminLogonCh;
    function OnAdminLogonCh(index, flags)
    {
       alert("Admin: " + index);
       alert("Flags: " + flags);
    }
    </SCRIPT>
    

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

Back to top