exchangelib.services.update_user_configuration API documentation

# Module `exchangelib.services.update_user_configuration`

## Classes

`class UpdateUserConfiguration (*args, **kwargs)`
  Expand source code

      class UpdateUserConfiguration(EWSAccountService):
          """MSDN:
          https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/updateuserconfiguration-operation
          """

          SERVICE_NAME = "UpdateUserConfiguration"
          returns_elements = False

          def call(self, user_configuration):
              return self._get_elements(payload=self.get_payload(user_configuration=user_configuration))

          def get_payload(self, user_configuration):
              return set_xml_value(create_element(f"m:{self.SERVICE_NAME}"), user_configuration, version=self.account.version)

  MSDN: https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/updateuserconfiguration-operation

  ### Ancestors

  - EWSAccountService
  - EWSService
  - SupportedVersionClassMixIn

  ### Class variables

  `var SERVICE_NAME`
  `var returns_elements`

  ### Methods

  `def call(self, user_configuration)`
    Expand source code

        def call(self, user_configuration):
            return self._get_elements(payload=self.get_payload(user_configuration=user_configuration))

  `def get_payload(self, user_configuration)`
    Expand source code

        def get_payload(self, user_configuration):
            return set_xml_value(create_element(f"m:{self.SERVICE_NAME}"), user_configuration, version=self.account.version)

  ### Inherited members

  - `EWSAccountService`:
    - `NO_VALID_SERVER_VERSIONS`
    - `WARNINGS_TO_CATCH_IN_RESPONSE`
    - `get`
    - `parse`
    - `supported_api_versions`
    - `wrap`