TestimoX

API Reference

Class

AdmxProviderSourceCatalogService

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Loads and validates data-driven ADMX provider source catalogs.

Inheritance

  • Object
  • AdmxProviderSourceCatalogService

Methods

public static AdmxProviderSourceCatalog Load(String catalogPath) #
Returns: AdmxProviderSourceCatalog

Loads a JSON ADMX provider source catalog from disk.

Parameters

catalogPath System.String requiredposition: 0
Path to the provider source catalog JSON file.

Returns

Deserialized provider source catalog.

public static AdmxProviderMaintenanceOptions LoadOptions(String catalogPath, String cacheRoot = null, String destinationRoot = null, String language = null, Boolean refreshCache = true, IReadOnlyCollection<String> sourceIds = null) #
Returns: AdmxProviderMaintenanceOptions

Loads a provider source catalog and converts executable sources into maintenance options.

Parameters

catalogPath System.String requiredposition: 0
Path to the provider source catalog JSON file.
cacheRoot System.String = null optionalposition: 1
Optional provider cache root override.
destinationRoot System.String = null optionalposition: 2
Optional Central Store or PolicyDefinitions comparison destination.
language System.String = null optionalposition: 3
Preferred ADML language.
refreshCache System.Boolean = true optionalposition: 4
Whether provider caches should be refreshed before comparison.
sourceIds System.Collections.Generic.IReadOnlyCollection{System.String} = null optionalposition: 5
Optional provider source ids to include from the catalog.

Returns

Maintenance options built from enabled executable catalog sources.

public static AdmxProviderSourceCatalogValidationResult Validate(AdmxProviderSourceCatalog catalog) #
Returns: AdmxProviderSourceCatalogValidationResult

Validates a provider source catalog and returns catalog-level issues.

Parameters

catalog ADPlayground.Gpo.GpoLocal.AdmxProviderSourceCatalog requiredposition: 0
Catalog to validate.

Returns

Validation result with issue details.