---
title: "Inspect the current user user"
method: GET
path: "/users/me"
tags: ["users"]
---

# Inspect the current user user

`GET /users/me`

Retrieve details about the current  user.
User passwords are filtered out, and should never be accessible.
**Access policy**: authenticated

## Response `200`

Success

- PortainerUser
  - `Id` integer, required — User Identifier
  - `Role` 0 | 1 | 2, required
  - `ThemeSettings` PortainerUserThemeSettings
    - `color` 'dark' | 'light' | 'highcontrast' | 'auto' | '' — Color represents the color theme of the UI
  - `TokenIssueAt` integer
  - `UseCache` boolean
  - `Username` string, required

## Other responses

- `400` — Invalid request
- `403` — Permission denied
- `404` — User not found
- `500` — Server error

---

[API](https://skmtc.net/portainer/apis/portainerce-api.md) · [All operations](https://skmtc.net/portainer/apis/portainerce-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portainer/portainerce-api/versions/ec51a8194ac0/schema)
