Iskra API Reference
    Preparing search index...

    Interface LdapUser

    A user of the directory.

    interface LdapUser {
        disabled: boolean;
        displayName?: string;
        dn: string;
        email?: string;
        entry: LdapEntry;
        expiresAt: Date | null;
        givenName?: string;
        groups?: LdapGroup[];
        id?: string;
        locked: boolean;
        memberOf: string[];
        sid?: string;
        surname?: string;
        username: string;
        userPrincipalName?: string;
    }
    Index
    disabled: boolean

    userAccountControl's ACCOUNTDISABLE (AD).

    displayName?: string
    dn: string
    email?: string

    entry

    entry: LdapEntry

    Every attribute read.

    expiresAt: Date | null

    accountExpires (AD); null when it never expires.

    givenName?: string
    groups?: LdapGroup[]

    With authenticate(…, { groups }): its groups.

    id?: string

    objectGUID (AD) or entryUUID (OpenLDAP): it does not change when the user is renamed or moved.

    locked: boolean

    A lockoutTime (AD) or a pwdAccountLockedTime (OpenLDAP's ppolicy).

    memberOf: string[]

    The DNs of the groups it is a direct member of (memberOf).

    sid?: string

    objectSid (AD).

    surname?: string
    username: string

    sAMAccountName (AD) or uid (OpenLDAP).

    userPrincipalName?: string