# Data Object - HostActiveDirectorySpec(vim.host.ActiveDirectorySpec.Specification)

Property of
  HostActiveDirectory
Extends
  DynamicData
Since
  vSphere API 4.1

## Data Object Description

The HostActiveDirectorySpec data object defines properties for Active Directory domain access.

Properties

Name | Type | Description
--- | --- | ---
camServer* | xsd:string | If set, the CAM server will be used to join the domain and the `userName` and `password` fields will be ignored. Since vSphere API 5.0
domainName* | xsd:string | Domain name.
password* | xsd:string | Password for the Active Directory account.
smartCardAuthenticationEnabled* | xsd:boolean | Support smart card authentication of local users. Since vSphere API 6.0
smartCardTrustAnchors* | xsd:string[] | Trusted root certificates for smart cards. Since vSphere API 6.0
thumbprint* | xsd:string | Thumbprint for the SSL certficate of CAM server Since vSphere API 5.0
userName* | xsd:string | Name of an Active Directory account with the authority to add a host to the domain.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostActiveDirectorySpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="domainName" type="xsd:string" minOccurs="0"/> <element name="userName" type="xsd:string" minOccurs="0"/> <element name="password" type="xsd:string" minOccurs="0"/> <element name="camServer" type="xsd:string" minOccurs="0"/> <element name="thumbprint" type="xsd:string" minOccurs="0"/> <element name="smartCardAuthenticationEnabled" type="xsd:boolean" minOccurs="0"/> <element name="smartCardTrustAnchors" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>