lakeformation__ListUserRoles
Lists the roles assigned to a specified user in a LakeFormation instance and project, with pagination and role-name filtering for access review and permission auditing.
Instructions
[LAKEFORMATION] 查询用户的角色列表
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"user_name": "<user_name>"
},
"name": "lakeformation__ListUserRoles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 查询返回条数。默认值为100。最小值为1,最大值为1000。 | |
| marker | No | 查询的起始记录ID。最小长度为0,最大长度为1024。 | |
| user_name | Yes | 用户名。只能包含字母、数字、下划线和中划线,且长度为1~256个字符。 | |
| project_id | Yes | 项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。 | |
| instance_id | Yes | LakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。 | |
| reverse_page | No | 是否查询上一页。默认为false。 | |
| role_pattern | No | 模糊匹配角色名称。只能包含字母、数字和_|*.特殊字符,且长度为1~255个字符。 |