TestimoX

API Reference

Class

DsHeuristicsService

Namespace ADPlayground.DirectoryServices
Assembly ADPlayground
Modifiers static

Reads the dsHeuristics setting from the Configuration naming context.

Inheritance

  • Object
  • DsHeuristicsService

Methods

public static DsHeuristicsDetails Decode(String raw) #
Returns: DsHeuristicsDetails

Decodes commonly referenced dsHeuristics switches into a typed view. - Position 7 (1-based): value '2' enables anonymous LDAP. - Position 8 (1-based): not '0' enables anonymous NSPI (fAllowAnonNSPI). - Position 21 (1-based): not '0' toggles DoNotVerifyUniqueness behavior.

Parameters

raw System.String requiredposition: 0
public static DsHeuristicsSnapshot GetSnapshot(String forestName = null) #
Returns: DsHeuristicsSnapshot

Reads dsHeuristics from the configuration partition for the specified forest.

Parameters

forestName System.String = null optionalposition: 0
Optional forest root DNS name; null uses the current forest.

Returns

Snapshot with raw dsHeuristics and resolved DNs.