TrustedDomainName As String
[in] String TrustedDomainName
Name of a domain to be added to the list of trusted domains for a computer.
This method enables the establishment of a trust relationship between a computer and a domain.
As a result of successful establishment of a trust relationship between a domain and a computer, logon authentication for the domain can be performed while logging on to the computer. When a computer account is created in a domain, an explicit trust relationship is established between the new computer and the domain. A computer is trusted by all domains, which trust the domain in which the computer account exists.