TestimoX

API Reference

Class

AdminSdHolderChecker

Namespace ADPlayground.Acl
Assembly ADPlayground

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 optionalposition: 0
Delegate retrieving ACL details from a domain distinguished name.
domainToDistinguishedName System.Func{System.String,System.String} = null optionalposition: 1
Delegate converting domain name to distinguished name.
enumerateDomains System.Func{System.Collections.Generic.IEnumerable{System.String}} = null optionalposition: 2
Delegate returning domain names in the forest.

Methods

public AdminSdHolderCheckResult ValidateCurrentDomain() #
Returns: AdminSdHolderCheckResult

Validates 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: AdminSdHolderCheckResult

Validates the AdminSDHolder ACL for a distinguished name.

Parameters

domainDistinguishedName System.String requiredposition: 0
public AdminSdHolderCheckResult ValidateDomain(String domain = null) #
Returns: AdminSdHolderCheckResult

Validates 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 optionalposition: 0
public IEnumerable<AdminSdHolderCheckResult> ValidateForest() #
Returns: IEnumerable<AdminSdHolderCheckResult>

Validates the AdminSDHolder ACL for every domain in the current forest.