API Reference
Class
TrustInfoCollector
Provides methods for gathering trust information across a forest.
Inheritance
- Object
- TrustInfoCollector
Constructors
public TrustInfoCollector(Func<String, IEnumerable<TrustInfo>> fetchTrusts = null) #Initializes a new instance of the TrustInfoCollector class.
Parameters
- fetchTrusts System.Func{System.String,System.Collections.Generic.IEnumerable{ADPlayground.Trusts.TrustInfo}} = null
- Optional delegate returning trust info for a domain.
Methods
public IEnumerable<TrustInfo> GetDomainTrustInfo(String domainName) #Returns:
IEnumerable<TrustInfo>Retrieves trust information for the specified domain.
Parameters
- domainName System.String
- Domain to query.
Returns
Collection of trust information.
public IEnumerable<TrustInfo> GetForestTrustInfo() #Returns:
IEnumerable<TrustInfo>Retrieves trust information across all domains in the forest.
Returns
Collection of trust information.