# Logon Method The Logon method logs on an admin. Syntax
    SiteCafe.Server.Admins.Logon(username, password, index)
Parameters
username | String that specifies the admin's username.
password | String that specifies the admin's password.
index | Long value that specifies the admin index.
Return Value None. Remarks None. Examples The following example logs on the first admin.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe.Server.Admins.Logon("admin1", "password", 1);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top