Domain Information
Returns domain information.
Input Parameters
No input parameters required.
Output Parameters
| Name | Type | Description |
|---|---|---|
| Hostname | String | Returns the hostname of the device. |
| Domain Name | String | Returns the 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. |
Example Input Parameters
No input parameters required.
