GetUserSettingsResponse

Inheritance: java.lang.Object, com.aspose.email.AutodiscoverResponse

public final class GetUserSettingsResponse extends AutodiscoverResponse

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

Constructors

Constructor Description
GetUserSettingsResponse() Initializes a new instance of the GetUserSettingsResponse class.

Methods

Method Description
tryGetSettingValue(int setting) Tries the get the user setting value.
getSmtpAddress() Gets the SMTP address this response applies to.
getRedirectTarget() Gets the redirectionTarget (URL or email address)
getSettings() Gets the requested settings for the user.
getUserSettingErrors() Gets error information for settings that could not be returned.

GetUserSettingsResponse()

public GetUserSettingsResponse()

Initializes a new instance of the GetUserSettingsResponse class.

tryGetSettingValue(int setting)

public T <T>tryGetSettingValue(int setting)

Tries the get the user setting value.

Parameters:

Parameter Type Description
setting int The setting.

Returns: T - True if setting was available.

getSmtpAddress()

public final String getSmtpAddress()

Gets the SMTP address this response applies to.

Returns: java.lang.String

getRedirectTarget()

public final String getRedirectTarget()

Gets the redirectionTarget (URL or email address)

Returns: java.lang.String

getSettings()

public final System.Collections.Generic.IGenericDictionary<Integer,Object> getSettings()

Gets the requested settings for the user.

Returns: com.aspose.ms.System.Collections.Generic.IGenericDictionary<java.lang.Integer,java.lang.Object>

getUserSettingErrors()

public final System.Collections.ObjectModel.Collection<UserSettingError> getUserSettingErrors()

Gets error information for settings that could not be returned.

Returns: com.aspose.ms.System.Collections.ObjectModel.Collection<com.aspose.email.UserSettingError>