Module: Viewpoint::EWS::SOAP::ExchangeUserConfiguration
- Includes:
- Viewpoint::EWS::SOAP
- Included in:
- ExchangeWebService
- Defined in:
- lib/ews/soap/exchange_user_configuration.rb
Overview
Exchange User Configuration operations as listed in the EWS Documentation.
Constant Summary
Constants included from Viewpoint::EWS::SOAP
ActiveDirectory, ActiveDirectoryContacts, Contacts, ContactsActiveDirectory, HARD_DELETE, MOVE_TO_DELETED_ITEMS, NAMESPACES, NS_EWS_MESSAGES, NS_EWS_TYPES, NS_SOAP, SOFT_DELETE, VERSION_2007, VERSION_2007_SP1, VERSION_2010, VERSION_2010_SP1, VERSION_2010_SP2, VERSION_2013, VERSION_2013_SP1, VERSION_NONE
Instance Method Summary collapse
-
#get_user_configuration(opts) ⇒ Object
The GetUserConfiguration operation gets a user configuration object from a folder.
Methods included from Viewpoint::EWS::SOAP
Instance Method Details
#get_user_configuration(opts) ⇒ Object
The GetUserConfiguration operation gets a user configuration object from a folder.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/ews/soap/exchange_user_configuration.rb', line 14 def get_user_configuration(opts) opts = opts.clone [:user_config_name, :user_config_props].each do |k| validate_param(opts, k, true) end req = build_soap! do |type, builder| if(type == :header) else builder.nbuild.GetUserConfiguration {|x| x.parent.default_namespace = @default_ns builder.user_configuration_name!(opts[:user_config_name]) builder.user_configuration_properties!(opts[:user_config_props]) } end end do_soap_request(req, response_class: EwsSoapAvailabilityResponse) end |