Neos.Neos/Classes/Command/UserCommandController.php
public function listCommand()
    {
        $users = $this->userService->getUsers();

        $tableRows = [];
        $headerRow = ['Name', 'Email', 'Account(s)', 'Role(s)', 'Active'];

        foreach ($users as $user) {
            $tableRows[] = $this->getTableRowForUser($user);
        }

        $this->output->outputTable($tableRows, $headerRow);
    }
public function listCommand()
    {
        $users = $this->userService->getUsers();

        $tableRows = [];
        $headerRow = ['Name', 'Email', 'Account(s)', 'Role(s)', 'Active'];

        foreach ($users as $user) {
            $tableRows[] = $this->getTableRowForUser($user);
        }

        $this->output->outputTable($tableRows, $headerRow);
    }
public function listCommand ( ) { $ users = $ this -> userService -> getUsers ( ) ; $ tableRows = [ ] ; $ headerRow = [ 'Name' , 'Email' , 'Account(s)' , 'Role(s)' , 'Active' ] ; foreach ( $ users as $ user ) { $ tableRows [ ] = $ this -> getTableRowForUser ( $ user ) ; } $ this -> output -> outputTable ( $ tableRows , $ headerRow ) ; }
List all users

This command lists all existing Neos users.

@return void
List all users