# CheckPassword Method The CheckPassword method checks whether a given password is valid. Syntax
    [bool=] Admin.CheckPassword(password)
Parameters
password | String that specifies the password.
Return Value Returns a Boolean value that contains the verification result. Remarks None. Examples The following example verifies a password and displays the result.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    admin = SiteCafe.Server.Admins.GetAdminByIndex(1);
    check = admin.CheckPassword("password");
    alert(check);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top