---
title: "UserRoleAssignmentsByUserId (Pipedrive)"
description: "User Role Assignments by User"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Users.UserRoleAssignmentsByUserId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Users.UserRoleAssignmentsByUserId
updated: 2026-11-01T16:22:11Z
license: https://documentation.invantive.eu/en/
---

# UserRoleAssignmentsByUserId: Pipedrive User Role Assignments by User

`read only` `REST`

- Catalog: `Pipedrive`
- Schema: `Users`
- Label: User Role Assignments by User

Can only retrieve data.

## Summary

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

## API Source

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

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `user_id` | `int64` | [x] |  | The user id. |

## Table Columns

The columns of the table `UserRoleAssignmentsByUserId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `active_flag` | `char` | Active Flag | [ ] | filters on the platform, writable, computed, `active_flag` | Whether the role is active or not. |
| `name` | `varchar2` | Name | [ ] | filters on the platform, writable, computed, `name` | The name of the role. |
| `parent_role_id` | `int64` | Parent Role ID | [ ] | filters on the platform, writable, computed, `parent_role_id` | The ID of the parent role. |
| `role_id` | `int64` | Role 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` | User ID | [ ] | filters on the platform, writable, computed, `user_id` | The user ID. |

