iya-sts
    Preparing search index...
    update: (key: string, request: EditRequest, context?: EditContext) => any = ...

    Type Declaration

      • (key: string, request: EditRequest, context?: EditContext): any
      • Makes one edit to one attribute of a person's entry, after validating the attribute, the mode and the value. Audited.

        Parameters

        • key: string

          the person's username or DN

        • request: EditRequest

          attribute, mode (set, add or remove) and value

        • Optionalcontext: EditContext

          actor and via, for the audit row

        Returns any

        { ok: true, dn, attribute, mode, values, message }, or { ok: false, errors } marked with its error code