TestimoX

API Reference

Class

GpoGuidIndexCache

Namespace ADPlayground.Gpo

Caches forest-wide mapping of Domain DN -> set of existing GPO GUIDs under CN=Policies. Used to validate gPLink references without per-link LDAP probes.

Inheritance

  • Object
  • GpoGuidIndexCache

Methods

ContainsOrResolve(System.String arg1, System.Guid arg2) #

Checks whether the specified GUID exists under the given GPO domain DN and, if not found, performs a targeted lookup within that domain to self-heal the index.

Parameters

arg1 System.String required
arg2 System.Guid required
GetStats() #

Returns diagnostic information about the GUID index cache.

InvalidateAll() #

Invalidates the cached index forcing a rebuild on next access.

InvalidateDomain(System.String domainDn) #

Invalidates a single domain entry in the index; it will be repopulated on demand.

Parameters

domainDn System.String required
ProbeStatus(System.String arg1, System.Guid arg2) #

Probes a specific GPO object by DN and distinguishes between NotFound and AccessDenied conditions.

Parameters

arg1 System.String required
arg2 System.Guid required
SetTtl(System.TimeSpan ttl) #

Sets the TTL for the GUID index. Values below 30 seconds are ignored; values above 2 days are clamped.

Parameters

ttl System.TimeSpan required