API Reference
Class
DsHeuristicsService
Reads the dsHeuristics setting from the Configuration naming context.
Inheritance
- Object
- DsHeuristicsService
Methods
public static DsHeuristicsDetails Decode(String raw) #Returns:
DsHeuristicsDetailsDecodes 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
public static DsHeuristicsSnapshot GetSnapshot(String forestName = null) #Returns:
DsHeuristicsSnapshotReads dsHeuristics from the configuration partition for the specified forest.
Parameters
- forestName System.String = null
- Optional forest root DNS name; null uses the current forest.
Returns
Snapshot with raw dsHeuristics and resolved DNs.