Usersecurity::Getuser

See Also ß


Retrieves a user data record object without affecting the currently active user. Pass in a PK or Username and Password. GetUser always returns a record unless the record cannot be found. Use Logon to check for Active and Expired status.

This is a lower level method that is used to retrieve user records. You should use Authenticate in most circumstances.

Syntax:

o.getuser(lcPK, lcPassword)
Return: .T. or .F. If .T. the oUser member is set. Doesn't work with NT Authentication.
Parameters: lcPK | lcUsername
Pass in either a PK or username to look up.

lcPassword
If a username is passed above the password must also be passed.


Last Updated: 04/01/00