The last error encountered by the object.
ActiveDirectory.LastError
Read only.
String.
To retrieve an error from the last operation, enter:
Dim objActiveDirectory Dim strError Set objActiveDirectory = CreateObject("McActiveDir.ActiveDirectory") If Not objActiveDirectory.BindPDCMaster Then strError = objActiveDirectory.LastError End If Set objActiveDirectory = Nothing