Returns the profile a reference comes to (#1240): the named profile the realm holds, else default — and a name the realm does not hold is logged (STS-SVCACCT-0047) and gets default too (the header says why).
default
the stsServiceAccountPolicy value, '' for none
stsServiceAccountPolicy
Optional
the account, for the log line
the profile in force
Returns the profile a reference comes to (#1240): the named profile the realm holds, else
default— and a name the realm does not hold is logged (STS-SVCACCT-0047) and getsdefaulttoo (the header says why).