get_user
Retrieve a single user's role, groups, timesheet approval date, and rates when available by providing their name, email, ID, or 'me'.
Instructions
Read one user: their role, their groups, the date their times are approved until, and their rates when the plan exposes them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | The user, by name, email, id, or `me`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The user's identifier. | |
| code | No | The user's code, as set by the administrators. | |
| name | No | The user's display name. | |
| role | No | One of `contributor`, `collaborator`, `manager`, `director`, `admin`. | |
| No | The user's email address. | ||
| groups | No | The groups the user belongs to. | |
| created_at | No | When the user was created. | |
| updated_at | No | When the user was last updated. | |
| disabled_at | No | When the user was disabled, if they were. | |
| hourly_cost | No | The user's hourly cost. Only on the budget offer. | |
| hourly_rate | No | The user's hourly rate. Only on the budget offer. | |
| is_disabled | No | Deprecated upstream in favour of `disabled_at`. | |
| timesheet_approved_until | No | The date until which this user's times are approved. |