the person
OptionalgroupsOf: () => HeldGroup[]
optional; answers the person's groups as
personGroups() does, so a caller that needs them too
(post_login.ts, for a started activity's groups, #1126) asks the
directory once; personGroups() otherwise
Optionalapplication: unknown
optional; the application signed in to (its client_id or identifier)
the profile name
Returns the name of the profile that reaches a person: of the profile the application signed in to names (
appPostLoginPolicy) and the profiles the person's groups name (stsPostLoginPolicy), the lowest precedence (ties by name), elsedefault—PolicySelection.rank()(#1239, rule 3cx). With no application — a question asked of a person outside a sign-in — the groups alone.