RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IWebUserList.ValidateUser Method

Validates a user login.

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

Call ValidateUser to check whether the information a user supplies on login matches a user in the user list.  

Strings is a string list that lists the information that the user supplied when logging in. Each entry in the string list is of the form Name=Value. Typically, the names of strings in the list are 'UserName' and 'Password'.  

If the login information is valid, ValidateUser returns the UserID of the identified user. Otherwise, ValidateUser returns an unassigned Variant. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!