Trusted Domains for Computers

You can use the Properties and methods related to Trusted Domains for a Computer to specify the domains that your computer can trust. Note that this trust relationship is different from that between domains.

Note: Some of the following methods require the name of a privilege. These are described in IADsNTPolicy Privileges

Property/Method

Description

AccountDomain

Gets the name of the Account Domain for a Computer

AddTrustedDomain

Enables establishment of a trust relationship between a computer and a domain

GetTrustedDomains

Gets the names of all trusted domains of a computer

PrimaryDomain

Gets or sets the name of the Primary Domain for a Computer

RemoveTrustedDomain

Removes a domain name from the list of trusted domains for a computer

 

See Also