5.96 IsDomainNameInTrustedForest

 procedure IsDomainNameInTrustedForest(name: unicodestring,
   var referredDomain: unicodestring) : boolean

The IsDomainNameInTrustedForest procedure returns true if the domain identified by name is in a forest trusted by the caller's forest, as determined by the FOREST_TRUST_INFORMATION state of the caller's forest, and false otherwise. The name parameter can be either an FQDN (1) or a NetBIOS name of a domain. If the IsDomainNameInTrustedForest procedure returns true, the referredDomain parameter value will be set to the FQDN (1) of the root domain of the forest of the domain specified by the name parameter. If the IsDomainNameInTrustedForest procedure returns false, the value of the referredDomain parameter remains unchanged.

See section 5.64 for the specification of this procedure.

Show: