docs: def users(self,
                start=1,
                num=10,
                sortField="fullName",
                sortOrder="asc",
                role=None):
          """
          Lists all the members of the organization. The start and num paging
          parameters are supported.
  
          Inputs:
             start - The number of the first entry in the result set response.
                     The index number is 1-based.
                     The default value of start is 1 (that is, the first
                     search result).
                     The start parameter, along with the num parameter, can
                     be used to paginate the search results.
             num - The maximum number of results to be included in the result
                   set response.
                   The default value is 10, and the maximum allowed value is
                   100.The start parameter, along with the num parameter, can
                   be used to paginate the search results.
             sortField - field to sort on
             sortOrder - asc or desc on the sortField
             role - name of the role or role id to search
          Output:
           list of User classes
          """
          users = []
          url = self._url + "/users"
          params = {
              "f" : "json",
              "start" : start,
              "num" : num
          }
          if not role is None:
              params['role'] = role
          if not sortField is None:
              params['sortField'] = sortField
          if not sortOrder is None:
              params['sortOrder'] = sortOrder
          from ._community import Community
          res = self._post(url=url,
                              param_dict=params,
                              securityHandler=self._securityHandler,
                              proxy_url=self._proxy_url,
                              proxy_port=self._proxy_port)
  
          if "users" in res:
              if len(res['users']) > 0:
                  parsed = urlparse.urlparse(self._url)
                  if parsed.netloc.lower().find('arcgis.com') == -1:
                      cURL = "%s://%s/%s/sharing/rest/community" % (parsed.scheme,
                                                                    parsed.netloc,
                                                                    parsed.path[1:].split('/')[0])
                  else:
                      cURL = "%s://%s/sharing/rest/community" % (parsed.scheme,
                                                                 parsed.netloc)
                  com = Community(url=cURL,
                                  securityHandler=self._securityHandler,
                                  proxy_url=self._proxy_url,
                                  proxy_port=self._proxy_port)
                  for r in res['users']:
                      users.append(
                          com.users.user(r["username"])
                      )
          res['users'] = users
          return res