dhis2_whoami
Returns the authenticated user's name, username, roles, and assigned organisation units to confirm data access permissions.
Instructions
Return the authenticated user: name, username, roles and the organisation units they are assigned to. Useful for confirming which data the account can see.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |