def get_users(self, offset=0, limit=None, all=False):
        if all:
            offset = 0
            if limit is None:
                limit = 100

        urlArgs = {'offset': offset}
        if limit is not None:
            urlArgs['limit'] = limit

        users, totalCount = self.__get_users_single(urlArgs)

        if all:
            pages = totalCount / limit
            if totalCount % limit != 0:
                pages += 1
            for i in range(2, pages + 1):
                urlArgs['offset'] = (i - 1) * limit
                more_users, tc = self.__get_users_single(urlArgs)
                users.extend(more_users)
        
        return users
    
    
    # ---- Projects ----
Return list of RedmineUser's in the system, optionally returning all
dataset/ETHPy150Open zepheira/django-redmine/django_redmine/utils.py/RedmineClient.get_users