code: def resetPassword(self, userId):
      '''
      Changes a user's password to a system-generated value.
      '''
      self._setHeaders('resetPassword')
      return self._sforce.service.resetPassword(userIdf resetPassword(self, userId):
      '''
      Changes a user's password to a system-generated value.
      '''
      self._setHeaders('resetPassword')
      return self._sforce.service.resetPassword(userId)
docs: Changes a user's password to a system-generated value.