public final class AutodiscoverService extends AutodiscoverServiceBase
Represents a binding to the Exchange Autodiscover Service.
OnSerializeCustomSoapHeaders
Constructor and Description |
---|
AutodiscoverService()
Initializes a new instance of the
AutodiscoverService class. |
AutodiscoverService(Integer requestedServerVersion)
Initializes a new instance of the
AutodiscoverService class. |
AutodiscoverService(String domain)
Initializes a new instance of the
AutodiscoverService class. |
AutodiscoverService(String domain,
Integer requestedServerVersion)
Initializes a new instance of the
AutodiscoverService class. |
AutodiscoverService(URI url)
Initializes a new instance of the
AutodiscoverService class. |
AutodiscoverService(URI url,
Integer requestedServerVersion)
Initializes a new instance of the
AutodiscoverService class. |
Modifier and Type | Method and Description |
---|---|
String |
getDomain()
Gets or sets the domain this service is bound to.
|
boolean |
getEnableScpLookup()
Gets or sets a value indicating whether the AutodiscoverService should perform SCP (ServiceConnectionPoint) record lookup when determining
the Autodiscover service URL.
|
AutodiscoverRedirectionUrlValidationCallback |
getRedirectionUrlValidationCallback()
Gets or sets the redirection URL validation callback.
|
URI |
getUrl()
Gets or sets the URL this service is bound to.
|
GetUserSettingsResponse |
getUserSettings(String userSmtpAddress,
Integer... userSettingNames)
Retrieves the specified settings for single SMTP address.
|
GetUserSettingsResponseCollection |
getUsersSettings(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<String> userSmtpAddresses,
Integer... userSettingNames)
Retrieves the specified settings for a set of users.
|
Boolean |
isExternal()
Gets a value indicating whether the Autodiscover service that URL points to is internal (inside the corporate network)
or external (outside the corporate network).
|
void |
setDomain(String value)
Gets or sets the domain this service is bound to.
|
void |
setEnableScpLookup(boolean value)
Gets or sets a value indicating whether the AutodiscoverService should perform SCP (ServiceConnectionPoint) record lookup when determining
the Autodiscover service URL.
|
void |
setRedirectionUrlValidationCallback(AutodiscoverRedirectionUrlValidationCallback value)
Gets or sets the redirection URL validation callback.
|
void |
setUrl(URI value)
Gets or sets the URL this service is bound to.
|
getAcceptGzipEncoding, getClientRequestId, getConnectionGroupName, getCookieContainer, getCredentials, getHttpHeaders, getHttpResponseHeaders, getKeepAlive, getLogFileName, getPreAuthenticate, getRequestedServerVersion, getReturnClientRequestId, getSendClientLatencies, getServerInfo, getTimeout, getUseDateInLogFileName, getUseDefaultCredentials, getUserAgent, getWebProxy, setAcceptGzipEncoding, setClientRequestId, setConnectionGroupName, setCookieContainer, setCredentials, setKeepAlive, setLogFileName, setPreAuthenticate, setReturnClientRequestId, setSendClientLatencies, setTimeout, setUseDateInLogFileName, setUseDefaultCredentials, setUserAgent, setWebProxy
public AutodiscoverService()
Initializes a new instance of the AutodiscoverService
class.
public AutodiscoverService(Integer requestedServerVersion)
Initializes a new instance of the AutodiscoverService
class.
requestedServerVersion
- The requested server version.public AutodiscoverService(String domain)
Initializes a new instance of the AutodiscoverService
class.
domain
- The domain that will be used to determine the URL of the service.public AutodiscoverService(String domain, Integer requestedServerVersion)
Initializes a new instance of the AutodiscoverService
class.
domain
- The domain that will be used to determine the URL of the service.requestedServerVersion
- The requested server version.public AutodiscoverService(URI url)
Initializes a new instance of the AutodiscoverService
class.
url
- The URL of the service.public AutodiscoverService(URI url, Integer requestedServerVersion)
Initializes a new instance of the AutodiscoverService
class.
url
- The URL of the service.requestedServerVersion
- The requested server version.public final GetUserSettingsResponse getUserSettings(String userSmtpAddress, Integer... userSettingNames)
Retrieves the specified settings for single SMTP address.
userSmtpAddress
- The SMTP addresses of the user.userSettingNames
- The user setting names.
public final GetUserSettingsResponseCollection getUsersSettings(com.aspose.ms.System.Collections.Generic.IGenericEnumerable<String> userSmtpAddresses, Integer... userSettingNames)
Retrieves the specified settings for a set of users.
userSmtpAddresses
- The SMTP addresses of the users.userSettingNames
- The user setting names.public final String getDomain()
Gets or sets the domain this service is bound to. When this property is set, the domain name is used to automatically determine the Autodiscover service URL.
public final void setDomain(String value)
Gets or sets the domain this service is bound to. When this property is set, the domain name is used to automatically determine the Autodiscover service URL.
public final URI getUrl()
Gets or sets the URL this service is bound to.
public final void setUrl(URI value)
Gets or sets the URL this service is bound to.
public final Boolean isExternal()
Gets a value indicating whether the Autodiscover service that URL points to is internal (inside the corporate network) or external (outside the corporate network).
public final AutodiscoverRedirectionUrlValidationCallback getRedirectionUrlValidationCallback()
Gets or sets the redirection URL validation callback.
Value: The redirection URL validation callback.public final void setRedirectionUrlValidationCallback(AutodiscoverRedirectionUrlValidationCallback value)
Gets or sets the redirection URL validation callback.
Value: The redirection URL validation callback.public final boolean getEnableScpLookup()
Gets or sets a value indicating whether the AutodiscoverService should perform SCP (ServiceConnectionPoint) record lookup when determining the Autodiscover service URL.
public final void setEnableScpLookup(boolean value)
Gets or sets a value indicating whether the AutodiscoverService should perform SCP (ServiceConnectionPoint) record lookup when determining the Autodiscover service URL.