---
title: "UserRoleAssignmentsByUserId (Pipedrive)"
description: "Tildeling af brugerroller efter bruger"
language: da
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/da/datamodels/pipedrive/Pipedrive.Users.UserRoleAssignmentsByUserId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Users.UserRoleAssignmentsByUserId
updated: 2026-12-04T13:53:45Z
license: https://documentation.invantive.eu/da/
---

# UserRoleAssignmentsByUserId: Pipedrive User Role Assignments by User

`read only` `REST`

- Katalog: `Pipedrive`
- Skema: `Users`
- Label: User Role Assignments by User

Kan kun hente data.

## Resumé

The roles assigned to one user. Each request costs 10 tokens of the daily budget of the company.

## API-kilde

- Endepunkt: `/users/{id}/roleAssignments`

## Parametre

| Navn | Datatype | Krævet | Standard | Dokumentation |
|---|---|:---:|---|---|
| `user_id` | `int64` | [x] |  | The user id. |

## Tabelkolonner

Tabellens kolonner `UserRoleAssignmentsByUserId` er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

| Navn | Datatype | Etiket | Krævet | Mærker | Dokumentation |
|---|---|---|:---:|---|---|
| `active_flag` | `char` | Aktivt flag | [ ] | filters on the platform, writable, computed, `active_flag` | Whether the role is active or not. |
| `name` | `varchar2` | Navn | [ ] | filters on the platform, writable, computed, `name` | The name of the role. |
| `parent_role_id` | `int64` | Forældres rolle-ID | [ ] | filters on the platform, writable, computed, `parent_role_id` | The ID of the parent role. |
| `role_id` | `int64` | Rolle-ID | [ ] | filters on the platform, writable, computed, `role_id` | The role ID. |
| `type` | `varchar2` | Type | [ ] | filters on the platform, writable, computed, `type` | The assignment type. |
| `user_id` | `int64` | Bruger-id | [ ] | filters on the platform, writable, computed, `user_id` | The user ID. |
