<< Click to Display Table of Contents >>
Password Confirmation |
To confirm the password of the logged-in user in an application, use the PasswordConfirm method.
PasswordConfirm([Mode])
This method opens a dialog box requesting a password confirmation for the currently logged-in user. This method returns True if the password is confirmed or False otherwise. The Boolean parameter Mode determines whether a logout must be executed in case of failure when confirming (True) or not (False).
If this dialog box is closed when clicking Cancel, this method returns False. If there is no logged-in user, this method returns False, but without opening the dialog box. If the password is not correct, the request is repeated up to three times. If a user types an incorrect password in these three times, the dialog box is closed and this method returns False.
Password confirmation