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

# applicable_roles

> applicable_roles 提供适用于当前用户的角色信息。

`applicable_roles` 提供有关适用于当前用户的角色的信息。

`applicable_roles` 提供以下字段：

| **字段** | **描述** |
| - | - |
| USER | 适用角色的用户。 |
| HOST | 用户连接的主机。 |
| GRANTEE | 授予角色的用户或角色。 |
| GRANTEE\_HOST | 授权者连接的主机。 |
| ROLE\_NAME | 角色的名称。 |
| ROLE\_HOST | 与角色关联的主机。 |
| IS\_GRANTABLE | 角色是否可以授予给其他人（`YES` 或 `NO`）。 |
| IS\_DEFAULT | 角色是否为默认角色（`YES` 或 `NO`）。 |
| IS\_MANDATORY | 角色是否为强制角色（`YES` 或 `NO`）。 |


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