RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebUserList.ValidateUser Method

Verifies that the given user name and password matches one of the entries stored in the TCustomWebUserList object.

Pascal
function ValidateUser(Strings: TStrings): Variant;
C++
__fastcall Variant ValidateUser(TStrings Strings);

This function verifies that the given user name and password matches one of the entries stored in the TCustomWebUserList object. Before the validation begins, it triggers the OnBeforeValidateUser event. If an error occurs during the validation check, the OnValidateUserError event will be triggered and a description of the error is sent, which could be either a missing or invalid password, or a missing or unknown user name. After the validation is complete, this function triggers the OnAfterValidateUser event. 

 

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