API Reference
Class
PrivilegedGroupAnalyzer
Enumerates privileged group membership and compares it to the default state.
Inheritance
- Object
- PrivilegedGroupAnalyzer
Constructors
public PrivilegedGroupAnalyzer(Func<String, String, HashSet<String>> fetchMembers = null, Func<IEnumerable<String>> enumerateDomains = null) #Initializes a new instance of the PrivilegedGroupAnalyzer class.
Parameters
- fetchMembers System.Func{System.String,System.String,System.Collections.Generic.HashSet{System.String}} = null
- Optional function returning members of a group for a domain.
- enumerateDomains System.Func{System.Collections.Generic.IEnumerable{System.String}} = null
- Optional function returning domain names in the forest.
Methods
public IEnumerable<GroupDifference> GetDifferences() #Returns:
IEnumerable<GroupDifference>Enumerates membership differences for all privileged groups in the forest.
Returns
Collection of differences.
public IEnumerable<GroupDifference> GetDifferencesForDomain(String domainName) #Returns:
IEnumerable<GroupDifference>Enumerates membership differences for a single domain.
Parameters
- domainName System.String
- Target domain name.
Returns
Collection of differences.