API Reference
Class
SidHistoryEnumerator
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:
VoidExports entries to a CSV file.
Parameters
- entries System.Collections.Generic.IEnumerable{ADPlayground.Trusts.SidHistoryEnumerator.SidHistoryEntry}
- Entries to export.
- filePath System.String
- Destination file path.
public static Void ExportToCsv(String domainName, String filePath) #Returns:
VoidEnumerates objects in a domain and exports them directly to CSV.
Parameters
- domainName System.String
- Target domain name.
- filePath System.String
- 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
- 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.