Get FalconRole - CrowdStrike/psfalcon GitHub Wiki
Search for user roles and assignments
Requires 'User management: Read'.
| Name | Type | Description | Min | Max | Allowed | Pipeline | PipelineByName | 
|---|---|---|---|---|---|---|---|
| Id | String[] | Role identifier | X | X | |||
| UserId | String | User identifier | |||||
| Cid | String | Customer identifier | |||||
| DirectOnly | Boolean | Display direct user role grants | |||||
| Filter | String | Falcon Query Language expression to limit results role_namerole_id | |||||
| Sort | String | Property and direction to sort results | cid|asccid|descrole_name|ascrole_name|desctype|asctype|desc | ||||
| Limit | Int32 | Maximum number of results per request | 1 | 500 | |||
| Detailed | Switch | Retrieve detailed information | |||||
| Offset | String | Position to begin retrieving results | |||||
| All | Switch | Repeat requests until all available results are retrieved | |||||
| Total | Switch | Display total result count instead of results | 
Get-FalconRole [-Cid <String>] [-Detailed] [-WhatIf] [-Confirm] [<CommonParameters>]Get-FalconRole -Id <String[]> [[-Cid] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Get-FalconRole -UserId <String> [[-Cid] <String>] [[-DirectOnly] <Boolean>] [[-Filter] <String>] [[-Sort] <String>] [[-Limit] <Int32>] [-Offset <String>] [-All] [-Total] [-WhatIf] [-Confirm] [<CommonParameters>]GET /user-management/combined/user-roles/v2
GET /user-management/queries/roles/v1
POST /user-management/entities/roles/GET/v2
queriesRolesV1
entitiesRolesGETV2
CombinedUserRolesV2
Get-FalconRole [-Detailed]Get-FalconRole -UserId <id>2025-09-19: PSFalcon v2.2.9
