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

# GRANT Role

See [Users](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-users) for details about user accounts within
*Kinetica*.

[Roles](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-roles) can be granted directly to
[users](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-users) or other roles.

```sql title="GRANT Role Syntax" theme={null}
GRANT <role name> TO <user name | role name>
```

## Examples

To grant a role allowing access to analyst tables to the
**analyst** role, and then grant that **analyst** role to user **jsmith**:

```sql GRANT ROLE to Role Example theme={null}
GRANT analyst_table_access TO analyst
```

```sql GRANT ROLE to User Example theme={null}
GRANT analyst TO jsmith
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.