TestimoX

API Reference

Class

SidHistoryEnumerator

Namespace ADPlayground.Trusts
Assembly ADPlayground
Modifiers static

Provides methods to locate objects that contain the sIDHistory attribute.

Inheritance

  • Object
  • SidHistoryEnumerator

Methods

ExportToCsv 2 overloads
public static Void ExportToCsv(IEnumerable<SidHistoryEntry> entries, String filePath) #
Returns: Void

Exports entries to a CSV file.

Parameters

entries System.Collections.Generic.IEnumerable{ADPlayground.Trusts.SidHistoryEnumerator.SidHistoryEntry} requiredposition: 0
Entries to export.
filePath System.String requiredposition: 1
Destination file path.
public static Void ExportToCsv(String domainName, String filePath) #
Returns: Void

Enumerates objects in a domain and exports them directly to CSV.

Parameters

domainName System.String requiredposition: 0
Target domain name.
filePath System.String requiredposition: 1
Destination file path.
GetSidHistoryObjects 2 overloads
public static IEnumerable<SidHistoryEntry> GetSidHistoryObjects(String domainName) #
Returns: IEnumerable<SidHistoryEntry>

Enumerates objects with sIDHistory in the specified domain.

Parameters

domainName System.String requiredposition: 0
Target domain name.

Returns

Collection of entries with sIDHistory values.

public static IEnumerable<SidHistoryEntry> GetSidHistoryObjects() #
Returns: IEnumerable<SidHistoryEntry>

Enumerates objects with sIDHistory across all domains in the current forest.

Returns

Collection of entries with sIDHistory values.