Get Domain Information

This Automation Manager object returns information about the Domain for the local computer.

Privileges

Normal.

Input Parameters

No input required.

Output Parameters

Name Type Description
Hostname String Returns the hostname of the device.
DomainName String Returns the domain name
Fully Qualified Domain Name String Returns the fully qualified domain name.
Forest Name String Returns the forest name.
Domain Mode String Returns the domain mode.
Domain PDC Role Owner String Returns the name of the Primary Domain Controller.
Domain RID Role Owner String Returns the name as the Relative ID role owner device.
Domain Infrastructure Role Owner String Returns the name the domain infrastructure role owner device.
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

No input parameters required.