Neos\Neos\Command\UserCommandController::listCommand PHP Method

listCommand() public method

This command lists all existing Neos users.
public listCommand ( ) : void
return void
    public function listCommand()
    {
        $users = $this->userService->getUsers();
        $tableRows = array();
        $headerRow = array('Name', 'Email', 'Account(s)', 'Role(s)', 'Active');
        foreach ($users as $user) {
            $tableRows[] = $this->getTableRowForUser($user);
        }
        $this->output->outputTable($tableRows, $headerRow);
    }