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

# Okta_HasRole

> Assignment of a built-in or custom role to a principal

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

## Edge Schema

* Source: [Okta\_User](/opengraph/extensions/okta/nodes/okta_user), [Okta\_Group](/opengraph/extensions/okta/nodes/okta_group), [Okta\_Application](/opengraph/extensions/okta/nodes/okta_application)
* Destination: [Okta\_Role](/opengraph/extensions/okta/nodes/okta_role), [Okta\_CustomRole](/opengraph/extensions/okta/nodes/okta_customrole)
* Traversable: ❌

## General Information

The non-traversable Okta\_HasRole edges represent the role assignments for users in Okta:

```mermaid theme={null}
graph LR
    u1("Okta_User john\@contoso.com")
    u2("Okta_User steve\@contoso.com")
    g1("Okta_Group IT")
    a1("Okta_Application Python Script")
    r1("Okta_Role Group Administrator")
    r2("Okta_Role Application Administrator")
    u1 -. Okta_HasRole .-> r1
    g1 -. Okta_HasRole .-> r1
    g1 -. Okta_HasRole .-> r2
    a1 -. Okta_HasRole .-> r2
    u2 -- Okta_MemberOf --> g1
```
