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) |
AutodiscoverService(URI url,
Integer requestedServerVersion) |
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() |
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) |
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)
public 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 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 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 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 URI getUrl()
public void setUrl(URI value)
public 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 AutodiscoverRedirectionUrlValidationCallback getRedirectionUrlValidationCallback()
Gets or sets the redirection URL validation callback.
Value: The redirection URL validation callback.public void setRedirectionUrlValidationCallback(AutodiscoverRedirectionUrlValidationCallback value)
Gets or sets the redirection URL validation callback.
Value: The redirection URL validation callback.public boolean getEnableScpLookup()
Gets or sets a value indicating whether the AutodiscoverService should perform SCP (ServiceConnectionPoint) record lookup when determining the Autodiscover service URL.
public 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.
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.