iya-sts
    Preparing search index...
    personGroups: (username: unknown) => { cn: string; dn: string; value: string }[] = ...

    Type Declaration

      • (username: unknown): { cn: string; dn: string; value: string }[]
      • The groups a person is in, each with the post-login profile it names (stsPostLoginPolicy, #1239): the directory's personGroupReferences() hook (#1235), riding its personGroups() (#535's, the passkey policy's) — from the person's own membership and the group index, never a walk of any group's members. Each { cn, dn, value }, value '' for a group that names nothing. Empty where there is no directory or no hook; throws where the hook does, for the caller to decide what a failure means.

        Parameters

        • username: unknown

          the person

        Returns { cn: string; dn: string; value: string }[]

        the groups