|
| Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
| Name | Type | Description |
|---|---|---|
| None | ||
| Properties inherited from HostDirectoryStore | ||
| None | ||
| Properties inherited from HostAuthenticationStore | ||
| info | ||
Methods
| Methods defined in this Managed Object |
|---|
| JoinDomain_Task, LeaveCurrentDomain_Task |
| Methods inherited from HostDirectoryStore |
| None |
| Methods inherited from HostAuthenticationStore |
| None |
If the HostAuthenticationStoreInfo.enabled
property is True (accessed through the info property),
the host has joined a domain.
The vSphere API will throw the InvalidState fault if you try
to add a host to a domain when the host has already joined a domain.
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostActiveDirectoryAuthentication used to make the method call. |
| domainName | xsd:string |
Name of the domain to be joined.
|
| userName | xsd:string |
Name for an Active Directory account
that has the authority to add hosts to the domain.
|
| password | xsd:string |
Password for the userName account.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| ActiveDirectoryFault | Thrown for any problem that is not handled with a more specific fault. |
| BlockedByFirewall | Thrown if ports needed by the join operation are blocked by the firewall. |
| ClockSkew | Thrown if the clocks of the host and the domain controller differ by more than the allowed amount of time. |
| DomainNotFound | Thrown if the domain controller for domainName cannot be reached. |
| HostConfigFault | Thrown if the host configuration prevents the join operation from succeeding. |
| InvalidHostName | Thrown if the domain part of the host's FQDN doesn't match the domain being joined. |
| InvalidLogin | Thrown if userName and password are not valid user credentials. |
| InvalidState | Thrown if the host has already joined a domain. |
| NoPermissionOnAD | Thrown if userName has no right to add hosts to the domain. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| TaskInProgress | Thrown if the HostActiveDirectoryAuthentication object is busy. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the HostActiveDirectoryAuthentication used to make the method call. |
| force | xsd:boolean |
If True, any existing permissions on managed entities for
Active Directory users will be deleted. If False and such
permissions exist, the operation will fail.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a Task |
Faults
| Type | Description |
|---|---|
| ActiveDirectoryFault | Thrown for any problem that is not handled with a specific fault. |
| AuthMinimumAdminPermission | Thrown if this change would leave the system with no Administrator permission on the root node. |
| InvalidState | Thrown if the host is not in a domain or there are active permissions for Active Directory users. |
| NonADUserRequired | only non Active Directory users can initiate the leave domain operation. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| TaskInProgress | Thrown if the ActiveDirectoryAuthentication object is busy. |
| Top of page | Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |