Property | Type | Description | |
---|---|---|---|
$authenticationProviderSettings | array | ||
$userService |
Method | Description | |
---|---|---|
activateCommand ( string $username, string $authenticationProvider = null ) : void | Activate a user | |
addRoleCommand ( string $username, string $role, string $authenticationProvider = null ) : void | Add a role to a user | |
createCommand ( string $username, string $password, string $firstName, string $lastName, string $roles = null, string $authenticationProvider = null ) : void | Create a new user | |
deactivateCommand ( string $username, string $authenticationProvider = null ) : void | Deactivate a user | |
deleteCommand ( string $username, boolean $assumeYes = false, string $authenticationProvider = null ) : void | Delete a user | |
listCommand ( ) : void | List all users | |
removeRoleCommand ( string $username, string $role, string $authenticationProvider = null ) : void | Remove a role from a user | |
setPasswordCommand ( string $username, string $password, string $authenticationProvider = null ) : void | Set a new password for the given user | |
showCommand ( string $username, string $authenticationProvider = null ) : void | Shows the given user |
Method | Description | |
---|---|---|
getTableRowForUser ( |
Prepares a table row for output with data of the given User | |
getUserOrFail ( string $username, string $authenticationProviderName ) : |
Retrieves the given user or fails by exiting with code 1 and a message |
public addRoleCommand ( string $username, string $role, string $authenticationProvider = null ) : void | ||
$username | string | The username of the user |
$role | string | Role to be added to the user, for example "Neos.Neos:Administrator" or just "Administrator" |
$authenticationProvider | string | Name of the authentication provider to use. Example: "Typo3BackendProvider" |
return | void |
public createCommand ( string $username, string $password, string $firstName, string $lastName, string $roles = null, string $authenticationProvider = null ) : void | ||
$username | string | The username of the user to be created, used as an account identifier for the newly created account |
$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 |
$roles | string | A comma separated list of roles to assign. Examples: "Editor, Acme.Foo:Reviewer" |
$authenticationProvider | string | Name of the authentication provider to use for the new account. Example: "Typo3BackendProvider" |
return | void |
public deleteCommand ( string $username, boolean $assumeYes = false, string $authenticationProvider = null ) : void | ||
$username | string | The username of the user to be removed |
$assumeYes | boolean | Assume "yes" as the answer to the confirmation dialog |
$authenticationProvider | string | Name of the authentication provider to use. Example: "Typo3BackendProvider" |
return | void |
protected getTableRowForUser ( |
||
$user | The user | |
return | array |
protected getUserOrFail ( string $username, string $authenticationProviderName ) : |
||
$username | string | Username of the user to find |
$authenticationProviderName | string | Name of the authentication provider to use |
return | The user |
public listCommand ( ) : void | ||
return | void |
public removeRoleCommand ( string $username, string $role, string $authenticationProvider = null ) : void | ||
$username | string | The username of the user |
$role | string | Role to be removed from the user, for example "Neos.Neos:Administrator" or just "Administrator" |
$authenticationProvider | string | Name of the authentication provider to use. Example: "Typo3BackendProvider" |
return | void |
public setPasswordCommand ( string $username, string $password, string $authenticationProvider = null ) : void | ||
$username | string | Username of the user to modify |
$password | string | The new password |
$authenticationProvider | string | Name of the authentication provider to use for finding the user. Example: "Typo3BackendProvider" |
return | void |
public showCommand ( string $username, string $authenticationProvider = null ) : void | ||
$username | string | The username of the user to show. Usually refers to the account identifier of the user's Neos backend account. |
$authenticationProvider | string | Name of the authentication provider to use. Example: "Typo3BackendProvider" |
return | void |
protected array $authenticationProviderSettings | ||
return | array |