> ## 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](/content/security/sec_concepts#security-concepts-roles) in the
system, the following can be listed:

* [permissions](/content/security/sec_concepts#security-concepts-permissions)
* [roles](/content/security/sec_concepts#security-concepts-roles)
* [resource groups](/content/rm/concepts#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.