API Reference
Class
TrustsEvaluator
Aggregates multiple trust posture signals into a simple tabular view for rules and UI.
Inheritance
- Object
- TrustsEvaluator
Methods
public static View Get(String domainName, Int32 inactiveThresholdDays = 365, Boolean skipValidation = true, IEnumerable<String> allowedMigrationDomains = null) #Returns:
ViewBuilds the trust posture view for a domain.
Parameters
- domainName System.String
- DNS name of the domain to analyze.
- inactiveThresholdDays System.Int32 = 365
- Number of days after which a trust is considered inactive.
- skipValidation System.Boolean = true
- Skip optional cross-domain validations to avoid expensive calls.
- allowedMigrationDomains System.Collections.Generic.IEnumerable{System.String} = null
- Optional allowlist of trust target domains where SID filtering may be intentionally disabled.
Returns
Materialized view with rows and counters.
TryGetTrustedDomainChangeMap(System.String sourceDomain) #Batch-read all trustedDomain objects under CN=System for the source domain and build a map of trustPartner -> last change (whenChanged/whenCreated). This eliminates per‑trust LDAP queries.
Parameters
- sourceDomain System.String
- DNS domain name (trust source).
Returns
Case-insensitive dictionary keyed by trustPartner with the most recent timestamp.