TestimoX

API Reference

Class

TrustInfoCollector

Namespace ADPlayground.Trusts
Assembly ADPlayground

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 optionalposition: 0
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 requiredposition: 0
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.