UsersRoleAssignments
Lists role assignments for a user.
View-Specific Information
SELECT
The provider uses the Pipedrive API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client-side within the provider.
| Column | Supported Operators |
| UserId | = |
For example, the following query is processed server-side:
SELECT * FROM UsersRoleAssignments WHERE UserId = 2
Columns
| Name | Type | References | Description |
| UserId | Integer | ID of the user. | |
| RoleId | Integer | The unique identifier of the role assigned to the user. | |
| ParentRoleId | Integer | The unique identifier of the parent role in the role hierarchy, if the assigned role inherits from another. | |
| Name | String | The display name of the assigned role. | |
| ActiveFlag | Boolean | Indicates whether the assigned role is currently active. | |
| Type | String | The type classification of the role, indicating whether it is a system role or a custom role. |