Skip to content

Users and Roles

bk-cs edited this page Sep 14, 2022 · 8 revisions

CrowdStrike Falcon API DocumentationEU 1US-1US-2US-GOV-1

Command Permission
Add-FalconRole usermgmt:write
Edit-FalconUser usermgmt:write
Get-FalconRole usermgmt:read
Get-FalconUser usermgmt:read
New-FalconUser usermgmt:write
Remove-FalconRole usermgmt:write
Remove-FalconUser usermgmt:write

Create a new user

New-FalconUser -Username jane.doe@example.com

List all user IDs

Get-FalconUser

Find a user ID by username

Get-FalconUser -Usernames jane.doe@example.com

List all users and their details

Get-FalconUser -Detailed

NOTE: The -Include parameter can be used to append user roles to Get-FalconUser output.

Get details on one or more users

Get-FalconUser -Ids <id>, <id>

Modify a user

Edit-FalconUser -Id <id> -FirstName Jane -LastName Doe

Remove a user

Remove-FalconUser -Id <id>

List all available user roles

Get-FalconRole [-Detailed]

List roles assigned to a user

Get-FalconRole -UserId <id>

Assign roles to a user

Add-FalconRole -Ids <id>, <id> -UserId <id>

Revoke roles from a user

Remove-FalconRole -Ids <id>, <id> -UserId <id>
Clone this wiki locally