BookStack\Repos\UserRepo::getAllUsers PHP Method

getAllUsers() public method

Get all the users with their permissions.
public getAllUsers ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static
    public function getAllUsers()
    {
        return $this->user->with('roles', 'avatar')->orderBy('name', 'asc')->get();
    }