Class LdapEntry

Namespace: redb.Route.Ldap
Assembly: redb.Route.Ldap.dll

Typed LDAP directory entry (DN + attributes).
Returned by Search and Watch operations.

public sealed class LdapEntry

Inheritance

Object→LdapEntry

Properties

Attributes

Attribute dictionary. Values are string for single-valued,

public Dictionary<string, object> Attributes { get; set; }

ChangeType

Change type for consumer entries: "added", "modified", or "deleted".

public string? ChangeType { get; set; }

Dn

Distinguished Name of the entry.

public string Dn { get; set; }

Methods

GetBytes(string)

Gets a binary attribute value (first element if multi-valued).

public byte[]? GetBytes(string attr)

GetBytesArray(string)

Gets a multi-valued binary attribute.

public byte[][]? GetBytesArray(string attr)

GetString(string)

Gets a single-valued string attribute.

public string? GetString(string attr)

GetStringArray(string)

Gets a multi-valued string attribute.

public string[]? GetStringArray(string attr)