List Sites
list_sitesLists Active Directory sites from the Configuration partition for audit and reporting. Supports single-domain forests by default and accepts a config_base for multi-domain environments.
Instructions
List the Active Directory sites (audit).
Reads site objects from CN=Sites,CN=Configuration,<forest root>. The
Configuration naming context is derived from the domain base for a
single-domain forest; pass config_base explicitly for a multi-domain
forest. Returns an empty list if the container cannot be read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| domain | No | ||
| config_base | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |