VerifyTrust
(
TrustedDomain As String
); As Variant_Boolean
Parameters
[in] String TrustedDomain
Name of the domain with which the trust relationship has to be
verified.
Description
Checks if a trust relationship already exists between the given
domain and the current domain.
Example
Dim Trust As IDomainTrustManagement
Dim bTrustExists as Boolean
'Get the interface.
Set Trust = GetObject ("NTDS://DomainName")
'Call the VerifyTrust method
bTrustExists = Trust.VerifyTrust ("TrustedDomainName")
'Print the result
Debug.Print bTrustExists
See Also
Trust Relationships