ActiveDirectory.Domains

Retrieves a list of Active Directory domains that belong to the same forest as the domain specified, or the domain of the current machine if no domain is specified.

Syntax

ActiveDirectory.Domains(optional forestRootDomainName as nullable text) as table

About

Retrieves a list of Active Directory domains that belong to the same forest as the domain specified, or the domain of the current machine if no domain is specified.