# Fault - ActiveDirectoryFault(vim.fault.ActiveDirectoryFault)

Thrown by
  DisableSmartCardAuthentication, EnableSmartCardAuthentication, ImportCertificateForCAM_Task, JoinDomain_Task, JoinDomainWithCAM_Task, LeaveCurrentDomain_Task
Extended by
  DomainNotFound, InvalidCAMServer, NonADUserRequired, NoPermissionOnAD
Extends
  VimFault
Since
  vSphere API 4.1

## Fault Description

Base fault for Active Directory related problems.

Properties

Name | Type | Description
--- | --- | ---
errorCode* | xsd:int | The error code reported by the Active Directory API.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ActiveDirectoryFault"> <complexContent> <extension base="vsan:VimFault"> <sequence> <element name="errorCode" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>