IUserManager.FindByName Method
Retrieves the user with the specified user name, or nil if no user is found.
Syntax
Unit: Sphinx.UserManager
function IUserManager.FindByName(const UserName: string): TUser; virtual; abstract;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | UserName | string | The user name to search for. |
Returns
The user entity matching the specified search criteria, or nil if it does not exist.