code: def getusers(self, userlist):
          
          userobjs = [User(self, **rawuser) for rawuser in
                      self._getusers(names=userlist).get('users', [])]
  
          # Return users in same order they were passed in
          ret = []
          for u in userlist:
              for uobj in userobjs[:]:
                  if uobj.email == u:
                      userobjs.remove(uobj)
                      ret.append(uobj)
                      break
          ret += userobjs
          return ret
docs: Return a list of Users from .
  
          :userlist: List of usernames to lookup
          :returns: List of User records