IAdmManagedDomain2
The IAdmManagedDomain2 interface extends the IAdmManagedDomain interface with the ability to validate the service account and specify when to use SSL to secure communication with the domain.
Inheritance: IAdmManagedDomain
Methods
-
Method
-
Description
-
ValidateServiceAccount()
-
Validates whether the account with the specified credentials can be used as a service account for the managed domain.
Properties
-
Property
-
Description
-
SslUsage
-
Gets or sets a value indicating when to use SSL to secure communication with the domain.
Details
ValidateServiceAccount()
Validates whether the account with the specified credentials can be used as a service account for the managed domain. If the account can be used to manage the domain, but doesn't have administrator permissions, the method throws the DirectoryComException exception with error code ERROR_NO_SUCH_PRIVILEGE.
void ValidateServiceAccount(String username, String password)
SslUsage
Gets or sets a value indicating when to use SSL to secure communication with the domain.
- Type:
- ADM_MANAGEDDOMAIN_SSLUSAGE_ENUM
- Access:
- Read/Write
Requirements
Minimum required version: 2021.1