TestimoX

API Reference

Class

LdapEvent

Namespace ADPlayground.LdapEngine
Assembly ADPlayground
Implements
IEquatable<LdapEvent>
Modifiers sealed

Captures a single LDAP diagnostic event (ban/skip/chosen/failover) with context for troubleshooting.

Inheritance

  • Object
  • LdapEvent

Constructors

public LdapEvent(DateTimeOffset at, LdapEventType type, String domain, String oldDc, String dc, String context, String reason, String baseDn, String filter, Nullable<Int32> resultCount, Nullable<Boolean> success, Nullable<Int32> attemptMs, String rule) #

Creates a new LDAP diagnostic event.

Parameters

at System.DateTimeOffset requiredposition: 0
UTC timestamp of the event.
type ADPlayground.LdapEngine.LdapEventType requiredposition: 1
Event type (Ban/Skip/Failover/Chosen).
domain System.String requiredposition: 2
DNS domain associated with the query when available.
oldDc System.String requiredposition: 3
Previous DC (for failover events).
dc System.String requiredposition: 4
Chosen/affected domain controller.
context System.String requiredposition: 5
Source logical context (e.g., method/rule) when provided.
reason System.String requiredposition: 6
Optional reason string for the event.
baseDn System.String requiredposition: 7
Base DN for the LDAP operation when available.
filter System.String requiredposition: 8
LDAP filter used when available.
resultCount System.Nullable{System.Int32} requiredposition: 9
Number of results returned (for chosen events).
success System.Nullable{System.Boolean} requiredposition: 10
Success indicator for the attempt when applicable.
attemptMs System.Nullable{System.Int32} requiredposition: 11
Approximate attempt duration in milliseconds.
rule System.String requiredposition: 12
Current rule identifier, when set by correlation context.

Methods

public LdapEvent <Clone>$() #
Returns: LdapEvent
public virtual Boolean Equals(LdapEvent other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public DateTimeOffset At { get; set; } #

UTC timestamp of the event.

public LdapEventType Type { get; set; } #

Event type (Ban/Skip/Failover/Chosen).

public String Domain { get; set; } #

DNS domain associated with the query when available.

public String OldDc { get; set; } #

Previous DC (for Failover events).

public String Dc { get; set; } #

Chosen/affected domain controller.

public String Context { get; set; } #

Source logical context (e.g., method/rule) when provided.

public String Reason { get; set; } #

Optional reason string describing the event.

public String BaseDn { get; set; } #

Base DN for the LDAP operation when available.

public String Filter { get; set; } #

LDAP filter used when available.

public Nullable<Int32> ResultCount { get; set; } #

Number of results returned (for chosen events).

public Nullable<Boolean> Success { get; set; } #

Success indicator for the attempt when applicable.

public Nullable<Int32> AttemptMs { get; set; } #

Approximate attempt duration in milliseconds.

public String Rule { get; set; } #

Current rule identifier, when set by correlation context.