# CheckPassword Method The CheckPassword method checks whether a given password is valid. Syntax
    [bool=] User.CheckPassword(password)
Parameters
password | String that specifies the password.
Return Value Returns a Boolean value that indicates whether the given password is valid. Remarks None. Examples The following example checks whether 'password' is the valid password of the first user.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    users = SiteCafe.Server.Users.GetUsers(1, 10);
    alert(users.Item(1).CheckPassword('password'));
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top