This method is used to validate a user¿s user's userid and password. The method queries the database for the provided information. If the credentials exist in the database, a record is returned containing the user¿s user's account information.
The getUserInfo () takes several arguments:
...