API Reference
Class
SecurityTokenBuilder
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
- targetDn System.String
- ctx ADPlayground.Gpo.Policy.GpoTargetComputerContext
- selfSid System.String@
- groupSids System.Collections.Generic.HashSet{System.String}@