workspace__ListUsers
Queries desktop users in a Huawei Cloud Workspace project, with pagination and filters for user name, group, activation type, description, and shared desktop status.
Instructions
[WORKSPACE] 该接口用于查询桌面用户列表。
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": {
"project_id": "<project_id>"
},
"name": "workspace__ListUsers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 用于分页查询,返回用户数量限制。如果不指定,则返回所有符合条件的用户。 | |
| offset | No | 分页查询起始条数。 | |
| user_name | No | 桌面用户名,长度范围为1-20,不能包含特殊字符,不能以数字开头。 | |
| group_name | No | 桌面用户组名,精确匹配。 | |
| project_id | Yes | 项目ID。 | |
| active_type | No | 激活类型,默认为用户激活。 | |
| description | No | 用户描述查询,模糊匹配。 | |
| share_space_desktops | No | 用户是否已绑定协同桌面,true/false。 | |
| enterprise_project_id | No | 企业项目ID | |
| is_query_total_desktops | No | 是否查询用户绑定的桌面数,true/false,默认true。 | |
| share_space_subscription | No | 用户是否已订阅协同,true/false。 |