TestimoX

API Reference

Class

DuplicateObjectExplorer

Namespace ADPlayground.DirectoryOps
Assembly ADPlayground
Modifiers static

High-level helper that expands multi-attribute and multi-class duplicate lookups.

Inheritance

  • Object
  • DuplicateObjectExplorer

Methods

public static IReadOnlyList<DuplicateObjectInfo> GetDuplicates(String domain, IEnumerable<String> attributes, IEnumerable<String> classes) #
Returns: IReadOnlyList<DuplicateObjectInfo>

Returns duplicate object sets for one or more attributes, optionally scoped to a domain and object classes.

Parameters

domain System.String requiredposition: 0
Optional DNS domain name. When null, searches the current forest scope of the detector.
attributes System.Collections.Generic.IEnumerable{System.String} requiredposition: 1
Attributes to check for duplicates; defaults to UPN, mail, name, canonicalName.
classes System.Collections.Generic.IEnumerable{System.String} requiredposition: 2
Optional object classes to restrict the search (e.g., user, contact).

Returns

List of duplicate groups with attribute value and object list.