---
title: "Get Current User Details"
url: "https://developer.migros.ch/apis/hr25-compensation-api-0/versions/81e689e4-d95b-44d7-a80e-882b791b85b2/operations/get_current_user_details_me_details_get"
---

> Full API specification: https://developer.migros.ch/apis/hr25-compensation-api-0/versions/81e689e4-d95b-44d7-a80e-882b791b85b2.md

# Get Current User Details

`GET` `/migros/human-resources/hrsolcomp/v1/me/details`

Operation ID: `get_current_user_details_me_details_get`

Get full user details from Dataverse. Returns complete systemuser record including: - fullname: Display name - internalemailaddress: Email - businessunitid: Business unit reference - title: Job title - And many more fields...

## Header parameters

- `authorization` (string, optional)

## Responses

- `200` - Successful Response
- `422` - Validation Error

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: HR25 Compensation API
  version: 0.1.0
servers:
  - url: https://hr25-comp.service.migros.cloud
paths:
  /migros/human-resources/hrsolcomp/v1/me/details:
    get:
      description: |-
        Get full user details from Dataverse.

        Returns complete systemuser record including:
        - fullname: Display name
        - internalemailaddress: Email
        - businessunitid: Business unit reference
        - title: Job title
        - And many more fields...
      operationId: get_current_user_details_me_details_get
      parameters:
        - in: header
          name: authorization
          required: false
          schema:
            title: Authorization
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Get Current User Details Me Details Get
                type: object
          description: Successful Response
        "422":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/HTTPValidationError"
          description: Validation Error
      summary: Get Current User Details
      tags:
        - user
      x-kong-route-defaults:
        strip_path: true
        tags:
          - hr25-comp
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: "#/components/schemas/ValidationError"
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
```
