The created user and account are automatically added to their respective repositories and thus be persisted.
public createUser ( string $username, string $password, string $firstName, string $lastName, array $roleIdentifiers = null, string $authenticationProviderName = null ) : |
||
$username | string | The username of the user to be created. |
$password | string | Password of the user to be created |
$firstName | string | First name of the user to be created |
$lastName | string | Last name of the user to be created |
$roleIdentifiers | array | A list of role identifiers to assign |
$authenticationProviderName | string | Name of the authentication provider to use. Example: "Typo3BackendProvider" |
return | The created user instance |