Who am I
whoamiReports the identity midPoint runs as, how it was established, and linked organizations; use it to tell whether empty self-scoped results mean no data or a different acting identity.
Instructions
Report the identity midPoint executes as, how it was established (personal = the server's configured credentials; resource-server = a validated per-request end user), and the orgs that identity is linked to. Call this first when a self-scoped tool (list_my_team, list_work_items, list_my_requests) returns an unexpectedly empty result — it distinguishes 'you genuinely have none' from 'this server is not acting as you'. When you write to a person, name people, roles and requests by their display names rather than OIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oid | Yes | ||
| mode | Yes | how this identity was established: personal (the configured credentials) or resource-server (a validated per-request end user) | |
| name | Yes | ||
| orgs | Yes | the orgs this identity is linked to, with the relation that links them | |
| tool | Yes | the tool that produced this result | |
| acting | Yes | who midPoint executed this call as | |
| server | Yes | write gate, features and versions of this server | |
| fullName | No | ||
| emailAddress | No | ||
| impersonated | Yes | true when this request runs as an end user via Switch-To-Principal |