> ## Documentation Index
> Fetch the complete documentation index at: https://specterops-bed-7559-api-key-exp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SCIM_HasRole

> User is assigned to a role

<img noZoom src="https://mintcdn.com/specterops-bed-7559-api-key-exp/Q9Jppg_Pu54SydxZ/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=Q9Jppg_Pu54SydxZ&q=85&s=dab889e863a05e09b1378befc30bbb10" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

## Edge Schema

* Source: [SCIM\_User](/opengraph/extensions/scim/nodes/scim_user)
* Destination: [SCIM\_Role](/opengraph/extensions/scim/nodes/scim_role)
* Traversable: ✅

## General Information

The SCIM\_HasRole edge represents the relationship between users and their assigned roles, as defined by the `roles` attribute in the SCIM user schema. Roles are extracted from user attributes and represented as separate nodes to enable graph-based analysis of role assignments across the organization. This edge allows identifying all users who share a particular role.

```mermaid theme={null}
graph LR
    node1("SCIM_User dschrute")
    node2("SCIM_Role Sales")
    node1 -- SCIM_HasRole --> node2
```
