TestimoX

API Reference

Class

RegistryPolicyMatcher

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Finds candidate ADMX policies for a given registry key/value pair. Reusable across RSOP and GPO details mapping.

Inheritance

  • Object
  • RegistryPolicyMatcher

Methods

public static IReadOnlyList<PolicyDefinition> FindCandidates(AdmxDocument doc, String keyPath, String valueName) #
Returns: IReadOnlyList<PolicyDefinition>

Finds ADMX policies that map to a given registry key and optional value name.

Parameters

doc ADPlayground.Gpo.GpoLocal.AdmxDocument requiredposition: 0
Compiled ADMX document containing policy definitions.
keyPath System.String requiredposition: 1
Registry key path (relative to hive as stored in ADMX).
valueName System.String requiredposition: 2
Optional registry value name. When null, list-type policies for the key may still match.

Returns

Distinct list of candidate policies that could set the provided key/value.