Iskra API Reference
    Preparing search index...

    Class LdapEntry

    An entry of the directory: its DN and its attributes, read by name ignoring case (mail, MAIL), as text, bytes or the value they encode.

    Index
    dn: string
    • get attributeNames(): string[]

      The attributes it has, as the server named them.

      Returns string[]

    • A 64-bit integer attribute (uSNChanged, a FILETIME).

      Parameters

      • name: string

      Returns bigint | undefined

    • The first value's bytes (a binary attribute: ldap-kit reads objectGUID, objectSid… as bytes).

      Parameters

      • name: string

      Returns Uint8Array<ArrayBufferLike> | undefined

    • A date: a GeneralizedTime (whenChanged, modifyTimestamp) or a FILETIME (pwdLastSet); null for "never".

      Parameters

      • name: string

      Returns Date | null | undefined

    • The first value, as text.

      Parameters

      • name: string

      Returns string | undefined

    • Every value, as text.

      Parameters

      • name: string

      Returns string[]

    • A GUID attribute (objectGUID) as text.

      Parameters

      • name: string = 'objectGUID'

      Returns string | undefined

    • Parameters

      • name: string

      Returns boolean

    • An integer attribute (userAccountControl).

      Parameters

      • name: string

      Returns number | undefined

    • A SID attribute (objectSid) as text.

      Parameters

      • name: string = 'objectSid'

      Returns string | undefined

    • The attributes as text (bytes as base64), for logs and JSON.

      Returns { attributes: Record<string, string[]>; dn: string }