UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UIP Insights ユーザー

「uip insights ユーザー」の構文とオプション。アクティブなテナントの Insights ユーザーとその Insights ロール名を読み取ります。

uip insights users 、現在の呼び出し元に表示されるテナント ユーザーを、その Insights のロール名とともに読み取ります。これは読み取り専用のサーフェスであり、作成、更新、削除動詞はありません。

重要:

Insights のユーザーを読み取るには、アクティブなテナントで Insights の管理の表示 権限が必要です。ユーザー ID のないセッション (たとえば、クライアント資格情報でサインインするセッション) は、このデータをまったく読み取ることができず、403 が返されます。

概要​

uip insights users list [--include-email] [-l <n>] [-o <n>]
uip insights users get <user-id> [--include-email]
uip insights users list [--include-email] [-l <n>] [-o <n>]
uip insights users get <user-id> [--include-email]

どちらの動詞も 、グローバル オプション と標準の 終了コードを尊重します。どちらも -t, --tenant を受け入れません。 uip login時に選択したテナントを使用します。

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; 'uip insights roles list' maps a role name to its role GUID and back. A user's row is kept even when directory enrichment fails. This view omits email and the nested role IDs. Pass --include-email to include them."
}
{
  "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; 'uip insights roles list' maps a role name to its role GUID and back. A user's row is kept even when directory enrichment fails. This view omits email and the nested role IDs. Pass --include-email to include them."
}

データシェイプ — --include-email​

{
  "Code": "InsightsUsersList",
  "Data": [
    {
      "Id": "b2c3d4e5-0000-0000-0000-000000000001",
      "Name": "Jane Doe",
      "Roles": [{ "Id": "c1d2e3f4-0000-0000-0000-000000000001", "Name": "Viewer" }],
      "Email": "jane.doe@example.com"
    }
  ],
  "Pagination": { "Returned": 1, "Limit": 50, "Offset": 0, "Total": 1, "HasMore": false }
}
{
  "Code": "InsightsUsersList",
  "Data": [
    {
      "Id": "b2c3d4e5-0000-0000-0000-000000000001",
      "Name": "Jane Doe",
      "Roles": [{ "Id": "c1d2e3f4-0000-0000-0000-000000000001", "Name": "Viewer" }],
      "Email": "jane.doe@example.com"
    }
  ],
  "Pagination": { "Returned": 1, "Limit": 50, "Offset": 0, "Total": 1, "HasMore": false }
}

--include-emailでは、Instructionsは最後の 2 文なしで同じ音符を持ちます。ユーザーの行は、そのユーザーのディレクトリー・エンリッチメント (表示データの解決) が失敗してもリストに保持され、不完全な行は削除されません。

UIP Insights のユーザーによるアクセス​

GUID で 1 人の Insights ユーザーを取得します。

引数​

名前Required目的
<user-id>○ユーザー GUID。GUID ではない値は、ネットワーク呼び出しの前にクライアント側で Run 'uip insights users list' to find a user ID. で失敗します。

オプション​

フラグ説明
--include-emailメール アドレスと入れ子になったロール ID を出力に含めます。既定ではオフです。
uip insights users get b2c3d4e5-0000-0000-0000-000000000001
uip insights users get b2c3d4e5-0000-0000-0000-000000000001

データシェイプ(--output json)​

{
  "Code": "InsightsUserGet",
  "Data": { "Id": "b2c3d4e5-0000-0000-0000-000000000001", "Name": "Jane Doe", "Roles": [{ "Name": "Viewer" }] }
}
{
  "Code": "InsightsUserGet",
  "Data": { "Id": "b2c3d4e5-0000-0000-0000-000000000001", "Name": "Jane Doe", "Roles": [{ "Name": "Viewer" }] }
}

--include-emailでは、リスト ビューと同じ図形がEmailされ、入れ子になったRoles[].Idはリスト ビューと同じになります。リストにあるように、ディレクトリのエンリッチが失敗すると、ユーザー名が空白になるか、古くなっている可能性があります。

404 が「同じユーザーが別のテナントに存在できる」という User <id> was not found in the active Insights tenant, or is not visible there. で失敗します。すべての Insights RBAC コマンドが 404 を返す場合は、テナントに Insights ポータル サービスがプロビジョニングされていない可能性があります。

参照​

  • Insights の概要
  • ロール、 グループ — 他の RBAC 読み取りサーフェス。 roles 、ここに示されているロール名を GUID にマップし、その逆にマップします。
  • alerts、 alert-history — テナント スコープのその他の読み取り対象領域。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得