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
Settings
Gets the requested settings for the user.
public IDictionary<UserSettingName, object> Settings { get; }
Property Value
SmtpAddress
Gets the SMTP address this response applies to.
public string SmtpAddress { get; }
Property Value
UserSettingErrors
Gets error information for settings that could not be returned.
public Collection<UserSettingError> UserSettingErrors { get; }
Property Value
Methods
TryGetSettingValue<T>(UserSettingName, out T)
Tries the get the user setting value.
public bool TryGetSettingValue<T>(UserSettingName setting, out T value)
Parameters
setting
UserSettingNameThe setting.
value
TThe setting value.
Returns
- bool
True if setting was available.
Type Parameters
T
Type of user setting.