RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomLoginFormAdapter.ExecuteLogin Method

Logs in the user after the user name and password have been validated.

Pascal
procedure ExecuteLogin(AUserID: Variant);
C++
__fastcall ExecuteLogin(Variant AUserID);

The LogIn action calls ExecuteLogin to log the user in after validating the user name and password. This method first generates an OnLogin event, so that the OnLogin event handler can perform any application-specific tasks to log the user in. Then, if the EndUser property is not nil (Delphi) or NULL (C++), ExecuteLogin calls the end user adapter's LogIn method, so that the end user adapter can log the user in. 

AUserID is the user ID of the end user. If the WebSnap application includes a TWebUserList component, this is the user ID that the Web user list associates with the current user name and password. Otherwise, AUserID is the value of the UserName property. 

 

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