IDomainTrustManagement Interface

Inherited from
IDispatch

IUnknown

IADs

Applies to Objects
Domain

The IDomainTrustManagement interface is exposed from the domain object. It is useful for managing trust relationships between domains.

Method

Description

AddTrustedDomain

Adds the new domain to the list of trusted domains of the current domain.

AddTrustingDomain

Adds the new domain to the list of trusting domains (permitted to trust) of the current domain.

EstablishTrust

Establishes the new trust relationship between the current domain and the TrustedDomain.

GetAllTrustedDomains

Returns a list of all the trusted domains on the current domain.

GetAllTrustingDomains

Returns a list of all the trusting domains on the current domain.

RemoveTrust

Removes the already existing trust relationship between the current domain and a trusted domain.

RemoveTrustedDomain

Deletes the entry of a trusted domain from the list of existing trusted domains on the current domain.

RemoveTrustingDomain

Deletes the entry of a trusting domain from the list of existing trusting domains on the current domain.

VerifyTrust

Checks whether a trust relationship already exists between the current domain and a trusted domain.

Example

Dim Trust As IDomainTrustManagement
'Get the interface.
Set Trust = GetObject ("NTDS://DomainName")

 

See Also