TestimoX

API Reference

Class

SecurityTokenBuilder

Namespace ADPlayground.Gpo.Policy

Builds and caches security tokens (set of SIDs) for target principals used by policy security filtering. Cycle and depth guards are applied during parent group expansion to avoid runaway recursion across large or cyclic membership graphs. Expansion is memoized per-DN for the duration of the process run.

Inheritance

  • Object
  • SecurityTokenBuilder

Methods

Build(System.String domainName, System.String targetDn, ADPlayground.Gpo.Policy.GpoTargetComputerContext ctx, System.String@ selfSid, System.Collections.Generic.HashSet{System.String}@ groupSids) #

Builds a set of SIDs representing the token for the target DN and context. Includes self SID, parent group SIDs, well-known SIDs, domain computers/controllers and SIDHistory where available.

Parameters

domainName System.String required
targetDn System.String required
ctx ADPlayground.Gpo.Policy.GpoTargetComputerContext required
selfSid System.String@ required
groupSids System.Collections.Generic.HashSet{System.String}@ required