Table of Contents

Class GetUserSettingsResponse

Namespace
Microsoft.Exchange.WebServices.Autodiscover
Assembly
Microsoft.Exchange.WebServices.dll

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

public sealed class GetUserSettingsResponse : AutodiscoverResponse
Inheritance
GetUserSettingsResponse
Inherited Members

Constructors

GetUserSettingsResponse()

Initializes a new instance of the GetUserSettingsResponse class.

public GetUserSettingsResponse()

Properties

RedirectTarget

Gets the redirectionTarget (URL or email address)

public string RedirectTarget { get; }

Property Value

string

Settings

Gets the requested settings for the user.

public IDictionary<UserSettingName, object> Settings { get; }

Property Value

IDictionary<UserSettingName, object>

SmtpAddress

Gets the SMTP address this response applies to.

public string SmtpAddress { get; }

Property Value

string

UserSettingErrors

Gets error information for settings that could not be returned.

public Collection<UserSettingError> UserSettingErrors { get; }

Property Value

Collection<UserSettingError>

Methods

TryGetSettingValue<T>(UserSettingName, out T)

Tries the get the user setting value.

public bool TryGetSettingValue<T>(UserSettingName setting, out T value)

Parameters

setting UserSettingName

The setting.

value T

The setting value.

Returns

bool

True if setting was available.

Type Parameters

T

Type of user setting.