> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Assign Role To User

Assign a role to a user in the organization.

## Parameters

<div className="integrations-table">
  | Parameter | Description                                   |
  | --------- | --------------------------------------------- |
  | Role ID   | Identifier of the role to assign.             |
  | User ID   | Identifier of the user to assign the role to. |
</div>

## Example Output

```json theme={"dark"}
{
	"autofillDependencies": true,
	"capabilities": [
		"manageContent",
		"manageDataVolumeFeed",
		"manageFieldExtractionRules",
		"manageS3DataForwarding"
	],
	"createdAt": "2018-10-16T09:10:00Z",
	"createdBy": "0000000006743FDD",
	"description": "Manage data of the org.",
	"filterPredicate": "!_sourceCategory=billing",
	"id": "0000000000E20FE3",
	"modifiedAt": "2018-10-16T09:10:00Z",
	"modifiedBy": "0000000006743FE8",
	"name": "DataAdmin",
	"systemDefined": false,
	"users": [
		"0000000006743FE0",
		"0000000005FCE0EE"
	]
}
```

## Workflow Library Example

[Assign Role to User with Sumo Logic and Send Results Via Email](https://library.blinkops.com/workflows/assign-role-to-user-with-sumo-logic-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/assign-role-to-user-with-sumo-logic-and-send-results-via-email/canvas" />
</div>
