iya-sts
    Preparing search index...
    profileNameFor: (application: unknown, person?: unknown) => string = ...

    Type Declaration

      • (application: unknown, person?: unknown): string
      • Returns the name of the profile that applies to a page or a mail drawn for an application and, where one is known, a person (#1238): of the profile the application names (appLocalePolicy) and the profiles the person's groups name (stsLocalePolicy), the lowest precedence (ties by name), else default.

        Parameters

        • application: unknown

          an application's identifier or client_id, or ''

        • Optionalperson: unknown

          the person (a username, a DN or urn:uuid:), or '' where nobody is known yet: the application alone then chooses

        Returns string

        the profile name