Aspose::Email::Clients::Exchange::GetUserSettingsResponse Class Referencefinal

Represents the response to a GetUsersSettings call for an individual user. More...

Inherits Aspose::Email::Clients::Exchange::AutodiscoverResponse.

Public Member Functions

System::String get_SmtpAddress () const
 Gets the SMTP address this response applies to. More...
 
void set_SmtpAddress (System::String value)
 Gets the SMTP address this response applies to. More...
 
System::String get_RedirectTarget () const
 Gets the redirectionTarget (URL or email address) More...
 
void set_RedirectTarget (System::String value)
 Gets the redirectionTarget (URL or email address) More...
 
System::SharedPtr< System::Collections::Generic::IDictionary< UserSettingName, System::SharedPtr< System::Object > > > get_Settings () const
 Gets the requested settings for the user. More...
 
void set_Settings (System::SharedPtr< System::Collections::Generic::IDictionary< UserSettingName, System::SharedPtr< System::Object >>> value)
 Gets the requested settings for the user. More...
 
System::SharedPtr< System::Collections::ObjectModel::Collection< System::SharedPtr< UserSettingError > > > get_UserSettingErrors () const
 Gets error information for settings that could not be returned. More...
 
void set_UserSettingErrors (System::SharedPtr< System::Collections::ObjectModel::Collection< System::SharedPtr< UserSettingError >>> value)
 Gets error information for settings that could not be returned. More...
 
 GetUserSettingsResponse ()
 Initializes a new instance of the GetUserSettingsResponse class. More...
 
template<typename T >
bool TryGetSettingValue (UserSettingName setting, T &value)
 Tries the get the user setting value. More...
 
void LoadFromXml (System::SharedPtr< AutodiscoverXmlReader > reader, System::String endElementName) override
 Loads response from XML. More...
 
void LoadUserSettingsFromXml (System::SharedPtr< AutodiscoverXmlReader > reader)
 Loads from XML. More...
 
- Public Member Functions inherited from Aspose::Email::Clients::Exchange::AutodiscoverResponse
AutodiscoverErrorCode get_ErrorCode () const
 Gets the error code that was returned by the service. More...
 
void set_ErrorCode (AutodiscoverErrorCode value)
 Gets the error code that was returned by the service. More...
 
System::String get_ErrorMessage () const
 Gets the error message that was returned by the service. More...
 
void set_ErrorMessage (System::String value)
 Gets the error message that was returned by the service. More...
 
System::SharedPtr< System::Uri > get_RedirectionUrl () const
 Gets the redirection URL. More...
 
void set_RedirectionUrl (System::SharedPtr< System::Uri > value)
 Sets the redirection URL. More...
 

Friends

template<typename FT0 >
class Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection
 
class Aspose::Email::Clients::Exchange::AutodiscoverService
 
class Aspose::Email::Clients::Exchange::GetUserSettingsRequest
 
class Aspose::Email::Clients::Exchange::OutlookAccount
 
class Aspose::Email::Clients::Exchange::OutlookConfigurationSettings
 
class Aspose::Email::Clients::Exchange::OutlookProtocol
 
class Aspose::Email::Clients::Exchange::OutlookUser
 

Additional Inherited Members

- Protected Member Functions inherited from Aspose::Email::Clients::Exchange::AutodiscoverResponse
 AutodiscoverResponse ()
 Initializes a new instance of the AutodiscoverResponse class. More...
 

Detailed Description

Represents the response to a GetUsersSettings call for an individual user.

Constructor & Destructor Documentation

◆ GetUserSettingsResponse()

Aspose::Email::Clients::Exchange::GetUserSettingsResponse::GetUserSettingsResponse ( )

Initializes a new instance of the GetUserSettingsResponse class.

Member Function Documentation

◆ get_RedirectTarget()

System::String Aspose::Email::Clients::Exchange::GetUserSettingsResponse::get_RedirectTarget ( ) const

Gets the redirectionTarget (URL or email address)

◆ get_Settings()

System::SharedPtr<System::Collections::Generic::IDictionary<UserSettingName, System::SharedPtr<System::Object> > > Aspose::Email::Clients::Exchange::GetUserSettingsResponse::get_Settings ( ) const

Gets the requested settings for the user.

◆ get_SmtpAddress()

System::String Aspose::Email::Clients::Exchange::GetUserSettingsResponse::get_SmtpAddress ( ) const

Gets the SMTP address this response applies to.

◆ get_UserSettingErrors()

System::SharedPtr<System::Collections::ObjectModel::Collection<System::SharedPtr<UserSettingError> > > Aspose::Email::Clients::Exchange::GetUserSettingsResponse::get_UserSettingErrors ( ) const

Gets error information for settings that could not be returned.

◆ LoadFromXml()

void Aspose::Email::Clients::Exchange::GetUserSettingsResponse::LoadFromXml ( System::SharedPtr< AutodiscoverXmlReader >  reader,
System::String  endElementName 
)
overridevirtual

Loads response from XML.

Parameters
readerThe reader.
endElementNameEnd element name.

Reimplemented from Aspose::Email::Clients::Exchange::AutodiscoverResponse.

◆ LoadUserSettingsFromXml()

void Aspose::Email::Clients::Exchange::GetUserSettingsResponse::LoadUserSettingsFromXml ( System::SharedPtr< AutodiscoverXmlReader >  reader)

Loads from XML.

Parameters
readerThe reader.

◆ set_RedirectTarget()

void Aspose::Email::Clients::Exchange::GetUserSettingsResponse::set_RedirectTarget ( System::String  value)

Gets the redirectionTarget (URL or email address)

◆ set_Settings()

void Aspose::Email::Clients::Exchange::GetUserSettingsResponse::set_Settings ( System::SharedPtr< System::Collections::Generic::IDictionary< UserSettingName, System::SharedPtr< System::Object >>>  value)

Gets the requested settings for the user.

◆ set_SmtpAddress()

void Aspose::Email::Clients::Exchange::GetUserSettingsResponse::set_SmtpAddress ( System::String  value)

Gets the SMTP address this response applies to.

◆ set_UserSettingErrors()

void Aspose::Email::Clients::Exchange::GetUserSettingsResponse::set_UserSettingErrors ( System::SharedPtr< System::Collections::ObjectModel::Collection< System::SharedPtr< UserSettingError >>>  value)

Gets error information for settings that could not be returned.

◆ TryGetSettingValue()

template<typename T >
bool Aspose::Email::Clients::Exchange::GetUserSettingsResponse::TryGetSettingValue ( UserSettingName  setting,
T &  value 
)
inline

Tries the get the user setting value.

Template Parameters
TType of user setting.
Parameters
settingThe setting.
valueThe setting value.
Returns
True if setting was available.

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection

template<typename FT0 >
friend class Aspose::Email::Clients::Exchange::AutodiscoverResponseCollection
friend

◆ Aspose::Email::Clients::Exchange::AutodiscoverService

◆ Aspose::Email::Clients::Exchange::GetUserSettingsRequest

friend class Aspose::Email::Clients::Exchange::GetUserSettingsRequest
friend

◆ Aspose::Email::Clients::Exchange::OutlookAccount

friend class Aspose::Email::Clients::Exchange::OutlookAccount
friend

◆ Aspose::Email::Clients::Exchange::OutlookConfigurationSettings

friend class Aspose::Email::Clients::Exchange::OutlookConfigurationSettings
friend

◆ Aspose::Email::Clients::Exchange::OutlookProtocol

friend class Aspose::Email::Clients::Exchange::OutlookProtocol
friend

◆ Aspose::Email::Clients::Exchange::OutlookUser

friend class Aspose::Email::Clients::Exchange::OutlookUser
friend