API Reference
Class
AdminSdHolderChecker
Validates AdminSDHolder ACLs across domains.
Inheritance
- Object
- AdminSdHolderChecker
Constructors
public AdminSdHolderChecker(Func<String, ValueTuple<Boolean, IEnumerable<AclEntryInfo>>> fetchAcl = null, Func<String, String> domainToDistinguishedName = null, Func<IEnumerable<String>> enumerateDomains = null) #Initializes a new instance of the AdminSdHolderChecker class.
Parameters
- fetchAcl System.Func{System.String,System.ValueTuple{System.Boolean,System.Collections.Generic.IEnumerable{ADPlayground.Acl.AclEntryInfo}}} = null
- Delegate retrieving ACL details from a domain distinguished name.
- domainToDistinguishedName System.Func{System.String,System.String} = null
- Delegate converting domain name to distinguished name.
- enumerateDomains System.Func{System.Collections.Generic.IEnumerable{System.String}} = null
- Delegate returning domain names in the forest.
Methods
public AdminSdHolderCheckResult ValidateCurrentDomain() #Returns:
AdminSdHolderCheckResultValidates the AdminSDHolder ACL for the current domain.
public IEnumerable<AdminSdHolderCheckResult> ValidateCurrentForest() #Returns:
IEnumerable<AdminSdHolderCheckResult>Validates the AdminSDHolder ACL for the current forest.
public AdminSdHolderCheckResult ValidateDn(String domainDistinguishedName) #Returns:
AdminSdHolderCheckResultValidates the AdminSDHolder ACL for a distinguished name.
Parameters
- domainDistinguishedName System.String
public AdminSdHolderCheckResult ValidateDomain(String domain = null) #Returns:
AdminSdHolderCheckResultValidates the AdminSDHolder ACL for the specified domain name or distinguished name. When domain is null, the current domain is validated.
Parameters
- domain System.String = null
public IEnumerable<AdminSdHolderCheckResult> ValidateForest() #Returns:
IEnumerable<AdminSdHolderCheckResult>Validates the AdminSDHolder ACL for every domain in the current forest.