code: def get_userstable_data(self):
          
          project_users = {}
          project = self.tab_group.kwargs['project']
  
          try:
              # Get all global roles once to avoid multiple requests.
              roles = api.keystone.role_list(self.request)
  
              # Update project_users with users which have role directly on
              # the project, (NOT through a group)
              self._get_users_from_project(project_id=project.id,
                                           roles=roles,
                                           project_users=project_users)
  
              # Update project_users with users which have role indirectly on
              # the project, (through a group)
              self._get_users_from_groups(project_id=project.id,
                                          roles=roles,
                                          project_users=project_users)
  
          except Exception:
              exceptions.handle(self.request,
                                _("Unable to display the users of this project.")
                                )
  
          return project_users.values()
docs: Get users with roles on the project.
  
          Roles can be applied directly on the project or through a group.