TestimoX

API Reference

Class

TimeServicePolicyReader

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

Reads selected Windows Time Service policy values from a .pol file.

Inheritance

  • Object
  • TimeServicePolicyReader

Methods

public static TimeServicePolicyInfo FromPol(PolFile pol, String domainName, Guid gpoId) #
Returns: TimeServicePolicyInfo

Extracts time service policy settings from a .pol file.

Parameters

pol ADPlayground.Gpo.GpoLocal.PolFile requiredposition: 0
The parsed policy file.
domainName System.String requiredposition: 1
Domain associated with the GPO.
gpoId System.Guid requiredposition: 2
Identifier of the GPO.

Returns

Structured policy information, or null when no relevant settings exist.