RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomLoginFormAdapter.ValidateUserName Method

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

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

The LogIn action associated with this adapter calls ValidateUserName to validate the name that the user supplies. ValidateUserName first generates an OnValidateUserName event. If the event handler does not exist, or does not handle the validation, ValidateUserName checks whether the user name is an empty string. If so, it raises an EAdapterFieldException exception. 

 

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