API Reference
Class
RegistryPolicyMatcher
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
- Compiled ADMX document containing policy definitions.
- keyPath System.String
- Registry key path (relative to hive as stored in ADMX).
- valueName System.String
- 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.