> Automation > Objects > Active Directory > Current Domain Controller

Current Domain Controller

Returns information about the domain controller currently in use by this workstation or member server.



Input Parameters

No input required.

Output Parameters

Name Type Description
Name String The DNS name of the Domain Controller.
IpAddress String The IP Address of the Domain Controller.
Roles String, comma delimited A list of the roles of the Domain Controller containing schema master, domain naming, PDC, Infrastructure master, and RID master. This list can be empty if the domain controller holds none of the roles.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

No input parameters required.