Skip to main content

ActiveDirectory.Domains

Returns a list of Active Directory domains in the same forest as the specified domain or of the current machine's domain if none is specified.

Syntax

ActiveDirectory.Domains(
optional forestRootDomainName as text
) as table

Remarks

Returns a list of Active Directory domains in the same forest as the specified domain or of the current machine's domain if none is specified.

Category

Accessing data