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

# SHOW SECURITY FOR Role

For any one or more (or all) [roles](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-roles) in the
system, the following can be listed:

* [permissions](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-permissions)
* [roles](https://docs.kinetica.com/content/security/sec_concepts.md#security-concepts-roles)
* [resource groups](https://docs.kinetica.com/content/rm/concepts.md#rm-concepts-resource-groups)

In addition, these attributes will be listed recursively for the roles the
specified roles have and the roles those roles have, etc.  This allows the full
set of permissions for a given role, both direct & inherited, to be viewed with
one command.

```sql title="SHOW SECURITY FOR Role Syntax" theme={null}
SHOW SECURITY FOR <role name>,...
```

## Examples

To show the permissions, roles, and *resource group* for the **analyst** role:

```sql SHOW SECURITY FOR Role Example theme={null}
SHOW SECURITY FOR analyst
```


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