---
title: "Get permissions for the user"
method: GET
path: "/api/v1/layout/users/{userId}/permissions"
tags: ["Permissions"]
---

# Get permissions for the user

`GET /api/v1/layout/users/{userId}/permissions`

## Request

- Base URL: `https://www.gooddata.ai`
- URL: `https://www.gooddata.ai/api/v1/layout/users/{userId}/permissions`
- Auth: none declared

Retrieve current set of permissions of the user in a declarative form.

## Path parameters

- `userId` string, required

## Response `200`

Retrieved current set of permissions.

- DeclarativeUserPermissions: Definition of permissions associated with a user.
  - `permissions` DeclarativeUserPermission[]
    - `assignee` AssigneeIdentifier, required: Identifier of a user or user-group.
      - `id` string, required: Identifier of the assignee.
      - `type` 'user' | 'userGroup', required
    - `name` 'SEE', required: Permission name.

---

[API](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/revisions/c728ef303bfb?raw)
