WhoAmI
WhoAmI =
object
Properties
Section titled “Properties”environmentId
Section titled “environmentId”environmentId:
string
environmentName
Section titled “environmentName”environmentName:
string|null
keyName
Section titled “keyName”keyName:
string|null
organizationId
Section titled “organizationId”organizationId:
string
organizationName
Section titled “organizationName”organizationName:
string|null
organizationSlug
Section titled “organizationSlug”organizationSlug:
string|null
permissions?
Section titled “permissions?”
optionalpermissions?:string[]
What the acting role may do, as opposed to what the key’s scopes allow. Absent from an API that predates it, which is why every reader treats a missing list as “not told” rather than “none”.
realmId?
Section titled “realmId?”
optionalrealmId?:string
the realm the key acts in. Absent from an API that predates realms, which is the root by construction; the root of an organization with one realm is never named in Session.contextLine, so nothing changes for it.
realmKey?
Section titled “realmKey?”
optionalrealmKey?:string|null
realmName?
Section titled “realmName?”
optionalrealmName?:string|null
roleName
Section titled “roleName”roleName:
string|null
scopes
Section titled “scopes”scopes:
string[]