TestimoX

API Reference

Class

AdmxLookupService

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Helper lookups for ADMX policy definitions by display name or name, using indexes on AdmxDocument. Keeps consumers from re-implementing matching or scanning the full list.

Inheritance

  • Object
  • AdmxLookupService

Methods

public static IReadOnlyList<PolicyDefinition> FindByDisplayName(AdmxDocument doc, String displayNameOrName) #
Returns: IReadOnlyList<PolicyDefinition>

Finds policy definitions by localized display name (case-insensitive), falling back to Name when needed.

Parameters

doc ADPlayground.Gpo.GpoLocal.AdmxDocument requiredposition: 0
Compiled ADMX document.
displayNameOrName System.String requiredposition: 1
Localized display name or technical Name.

Returns

List of matching policy definitions, possibly empty when not found.