Admins Object



 
The Admins object handles the SiteCafe admins.


Members Table

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

    Members

    Objects Description
    Logons Provides access to an admin's login and logoff dates.

    Methods Description
    Create Creates an admin.
    Delete Deletes an admin.
    GetAdminByIndex Returns an admin by index.
    GetAdminByName Returns an admin by name.
    GetAdmins Returns a range of admins.
    Logoff Logs off an admin.
    Logon Logs on an admin.

    Events Description
    OnAdminChanged Fires when an admin changed.

Remarks
    This object is available through the object Server. Use the Admins object to handle SiteCafe admins.

Examples
    The following example displays the name of the first SiteCafe admin.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteCafe.Server.Admins.GetAdminByIndex(1).Name);
    </SCRIPT>
    

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

Back to top