API Reference
Class
TrustsApi
PowerShell-like facade for trust posture. Provides a simple entry point that returns a typed view suitable for tables and reports.
Inheritance
- Object
- TrustsApi
Remarks
Example: var view = ADPlayground.Trusts.TrustsApi.Get("contoso.com"); foreach (var row in view.Items) { Console.WriteLine($"{row.SourceDomain} -> {row.TargetDomain} ({row.TrustType})"); }
Methods
public static View Get(String domain) #Returns:
ViewReturns trust posture summary for a domain (typed view of all trusts).
Parameters
- domain System.String