RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomLoginFormAdapter.ValidatePassword Method

Validates the password that the user supplied to the login form.

Pascal
procedure ValidatePassword;
C++
__fastcall ValidatePassword();

The LogIn action associated with this adapter calls ValidatePassword to validate the password that the user supplies. ValidatePassword first generates an OnValidatePassword event. If the event handler does not exist, or does not handle the validation, ValidatePassword checks whether the password is an empty string. If so, and if the PasswordRequired property is true, ValidatePassword raises an EAdapterFieldException exception. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!