uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
UIP Insights 用户
“uip Insights Users”的语法和选项,可读取活动租户的 Insights 用户及其 Insights 角色名称。
uip insights users 读取当前调用者可见的租户用户及其 Insights 角色名称。这是一个只读表面,没有“创建”、“更新”或“删除”动词。
重要提示:
读取 Insights User 需要活动租户具有Insights Management 查看权限。没有用户身份的会话(例如,使用客户端凭据登录的会话)根本无法读取此数据,并会收到 403。
大纲
uip insights users list [--include-email] [-l <n>] [-o <n>]
uip insights users list [--include-email] [-l <n>] [-o <n>]
UIP Insights 用户列表
列出租户用户对当前调用者可见的租户用户及其 Insights 角色名称。
选项
| 标记 | 描述 |
|---|---|
--include-email | 在输出中包括电子邮件地址和嵌套角色 ID。默认情况下 — 默认视图忽略两者。 |
-l, --limit <number> | 要返回的最大行数。默认为 50。 |
-o, --offset <number> | 返回结果之前要跳过的行。 |
分页在客户端进行:后端返回完整的未分页列表,CLI 在获取后对其进行切片。
示例
uip insights users list
uip insights users list --include-email --limit 100
uip insights users list
uip insights users list --include-email --limit 100
数据形状 — 默认视图
{
"Code": "InsightsUsersList",
"Data": [
{
"id": "b2c3d4e5-0000-0000-0000-000000000001",
"name": "Jane Doe",
"roles": [{ "name": "Viewer" }]
}
],
"Pagination": { "Returned": 1, "Limit": 50, "Offset": 0, "Total": 1, "HasMore": false },
"Instructions": "Roles shown are the user's Insights roles in the active tenant, by name. A user's row is kept even when directory enrichment fails."
}
{
"Code": "InsightsUsersList",
"Data": [
{
"id": "b2c3d4e5-0000-0000-0000-000000000001",
"name": "Jane Doe",
"roles": [{ "name": "Viewer" }]
}
],
"Pagination": { "Returned": 1, "Limit": 50, "Offset": 0, "Total": 1, "HasMore": false },
"Instructions": "Roles shown are the user's Insights roles in the active tenant, by name. A user's row is kept even when directory enrichment fails."
}
数据形状 — with --include-email
{
"Code": "InsightsUsersList",
"Data": [
{
"id": "b2c3d4e5-0000-0000-0000-000000000001",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"roles": [{ "id": 3, "name": "Viewer" }]
}
],
"Pagination": { "Returned": 1, "Limit": 50, "Offset": 0, "Total": 1, "HasMore": false }
}
{
"Code": "InsightsUsersList",
"Data": [
{
"id": "b2c3d4e5-0000-0000-0000-000000000001",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"roles": [{ "id": 3, "name": "Viewer" }]
}
],
"Pagination": { "Returned": 1, "Limit": 50, "Offset": 0, "Total": 1, "HasMore": false }
}
即使该用户的目录丰富功能(解析显示数据)失败,用户的该行也会保留在列表中——不会删除不完整的行。
另请参阅
- Insights 概述
- 警示、警示历史记录— 其他租户范围内的读取表面。