API Reference
Class
AccountPolicyReader
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:
AccountPolicyInfoParses GptTmpl.inf under the provided GPO SYSVOL path and returns account policy values.
Parameters
- gpoSysvolPath System.String
- Path to the GPO root within SYSVOL (contains the Machine folder).
Returns
An AccountPolicyInfo when policy exists; otherwise null.