API Reference
Class
GpoAclAnalyzer
Provides methods to analyze GPO ACLs for non-administrative write access.
Inheritance
- Object
- GpoAclAnalyzer
Constructors
public GpoAclAnalyzer(Func<String, IEnumerable<GpoAclFinding>> fetchFindings = null, Func<IEnumerable<String>> enumerateDomains = null) #Initializes a new instance of the GpoAclAnalyzer class.
Parameters
- fetchFindings System.Func{System.String,System.Collections.Generic.IEnumerable{ADPlayground.Gpo.GpoAclFinding}} = null
- Delegate returning ACL findings for a domain.
- enumerateDomains System.Func{System.Collections.Generic.IEnumerable{System.String}} = null
- Delegate returning domain names in the forest.
Methods
public IEnumerable<GpoAclFinding> AnalyzeDomain(String domainName) #Returns:
IEnumerable<GpoAclFinding>Retrieves ACL findings for the specified domain.
Parameters
- domainName System.String
- Target domain name.
Returns
Enumeration of ACL entries.
public IEnumerable<GpoAclFinding> AnalyzeForest() #Returns:
IEnumerable<GpoAclFinding>Retrieves ACL findings for every domain in the current forest.
Returns
Enumeration of ACL entries.
public Void CheckDomain(String domainName = null) #Returns:
VoidLogs warnings for the specified domain.
Parameters
- domainName System.String = null
- Domain name or null for the current domain.