---
title: "Retrieves the status of the logged in user"
method: GET
path: "/v1.0/authorities/current-user-state"
tags: ["Authorities"]
---

# Retrieves the status of the logged in user

`GET /v1.0/authorities/current-user-state`

## Response `200`

OK

- UserStateDTO
  - `userId` string
  - `roleType` string
  - `lastLoginDomain` 'INSTALLATION' | 'AVIATION'
  - `domainsLoginStatuses` object

## Other responses

- `500` — Internal Server Error

## Changes

- **2025-11-18** `75eb25c6c016` — 1 warning
  - removed the optional property `security` from the response with the `500` status
- **2025-07-17** `ae162f3b8695` — 1 warning, 5 info
  - added the new `NO_ROLE_TYPE` enum value to the `domainsLoginStatuses/additionalProperties/` response property for the response status `200`
  - added the optional property `security` to the response with the `500` status
  - removed the `DELETED` enum value from the `domainsLoginStatuses/additionalProperties/` response property for the response status `200`
  - removed the `OPERATOR` enum value from the `roleType` response property for the response status `200`
  - …2 more

[Change history](https://skmtc.dev/beis/apis/mets-api-documentation/changes/v1.0/authorities/current-user-state/get.md)

---

[API](https://skmtc.dev/beis/apis/mets-api-documentation.md) · [All operations](https://skmtc.dev/beis/apis/mets-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beis/mets-api-documentation/revisions/c3a5c6052f25/schema)
