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.
equals(Object arg0)
getClass()
getErrorCode() Gets the error code that was returned by the service.
getErrorMessage() Gets the error message that was returned by the service.
getRedirectTarget() Gets the redirectionTarget (URL or email address)
getSettings() Gets the requested settings for the user.
getSmtpAddress() Gets the SMTP address this response applies to.
getUserSettingErrors() Gets error information for settings that could not be returned.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getErrorCode()

public final int getErrorCode()

Gets the error code that was returned by the service.

Returns: int

getErrorMessage()

public final String getErrorMessage()

Gets the error message that was returned by the service.

Value: The error message.

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>

getSmtpAddress()

public final String getSmtpAddress()

Gets the SMTP address this response applies to.

Returns: java.lang.String

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>

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int