# Information Schema APPLICABLE\_ROLES Table

The [Information Schema](/docs/server/reference/system-tables/information-schema.md) `APPLICABLE_ROLES` table shows the [role authorizations](/docs/server/security/user-account-management/roles.md) that the current user may use.

It contains the following columns:

<table data-header-hidden="false" data-header-sticky><thead><tr><th>Column</th><th>Description</th></tr></thead><tbody><tr><td>GRANTEE</td><td>Account that the role was granted to.</td></tr><tr><td>ROLE_NAME</td><td>Name of the role.</td></tr><tr><td>IS_GRANTABLE</td><td>Whether the role can be granted or not.</td></tr><tr><td>IS_DEFAULT</td><td>Whether the role is the user's default role or not</td></tr></tbody></table>

The current role is in the [ENABLED\_ROLES](/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-enabled_roles-table.md) Information Schema table.

## Example

```sql
SELECT * FROM information_schema.APPLICABLE_ROLES;
+----------------+-------------+--------------+------------+
| GRANTEE        | ROLE_NAME   | IS_GRANTABLE | IS_DEFAULT |
+----------------+-------------+--------------+------------+
| root@localhost | journalist  | YES          | NO         |
| root@localhost | staff       | YES          | NO         |
| root@localhost | dd          | YES          | NO         |
| root@localhost | dog         | YES          | NO         |
+----------------+-------------+--------------+------------+
```

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-applicable_roles-table.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
