> ## 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.

# CREATE ROLE

<a id="sql-security-role-mgmt" />

See [Roles](/content/security/sec_concepts#security-concepts-roles) for details about roles within *Kinetica*.

<a id="sql-security-role-mgmt-create" />

A new [role](/content/security/sec_concepts#security-concepts-roles) can be created as a container for
[permissions](/content/security/sec_concepts#security-concepts-permissions) or other roles, though both
of those must be granted to the role after its creation.

Optionally, the role can be associated with a
[resource group](/content/rm/concepts#rm-concepts-resource-groups).

```sql title="CREATE ROLE Syntax" theme={null}
CREATE ROLE <role name>
[ [WITH] RESOURCE GROUP [=] <group name> ]
```

## Examples

To create an **analyst** role:

```sql CREATE ROLE Example theme={null}
CREATE ROLE analyst
```

To create an **executive** role, assigning it the **execution\_over\_memory**
*resource group*:

```sql CREATE ROLE with Resource Group Example theme={null}
CREATE ROLE executive
WITH RESOURCE GROUP execution_over_memory
```


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