code: def get_users_in_project(self, projectname):
          
          cmd = ["list", "assoc", "where", "account=%s" % projectname]
          results = self._read_output(cmd)
  
          user_list = []
          for result in results:
              if result["User"] != "":
                  user_list.append(result["User"])
          return user_list
docs: Get list of users in project from Slurm.