Get Current Domain Controller

This Automation Manager object returns information about the domain controller currently in use by this workstation or member server.

Privileges

Normal.

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.