TestimoX

API Reference

Class

AccountPolicyReader

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

Reads account and password policy settings from a GPO's SYSVOL folder (GptTmpl.inf).

Inheritance

  • Object
  • AccountPolicyReader

Methods

public static AccountPolicyInfo Read(String gpoSysvolPath) #
Returns: AccountPolicyInfo

Parses GptTmpl.inf under the provided GPO SYSVOL path and returns account policy values.

Parameters

gpoSysvolPath System.String requiredposition: 0
Path to the GPO root within SYSVOL (contains the Machine folder).

Returns

An AccountPolicyInfo when policy exists; otherwise null.