docs: def expirePassword(self,
                         hours="now"):
          """sets a time when a user must reset their password"""
  
          params = {
              "f" : "json"
          }
          expiration = -1
          if isinstance(hours, str):
              if expiration == "now":
                  expiration = -1
              elif expiration == "never":
                  expiration = 0
              else:
                  expiration = -1
          elif isinstance(expiration, (int, long)):
              dt = datetime.now() + timedelta(hours=hours)
              expiration = local_time_to_online(dt=dt)
          else:
              expiration = -1
          params['expiration'] = expiration
          url = "%s/expirePassword" % self.root
          return self._post(url=url,
                               param_dict=params,
                               securityHandler=self._securityHandler,
                               proxy_url=self._proxy_url,
                               proxy_port=self._proxy_port)