Retrieves an existing user by the given username
public getUser ( string $username, string $authenticationProviderName = null ) : |
||
$username | string | The username |
$authenticationProviderName | string | Name of the authentication provider to use. Example: "Typo3BackendProvider" |
return | The user, or null if the user does not exist |