- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- UIP コーダー
- UIP のコンテキスト グラウンディング
- uip docsai
- uip 関数
- UIP ガードレール
- uip llm - 構成
- uip llm-gateway
- UIP Maestro のオーサリング
- UIP Maestro レジストリ
- uip model-hub
- アクティビティ検索
- アクティビティ get-default-xaml
- 分析
- アナライザー - ルールのリスト
- 開発
- クリーンアップ
- data-fabric-entities をインストールする
- data-fabric-entities リスト
- ファイル差分
- get-library-object-repository
- オブジェクト リポジトリを取得
- Init
- インスタンス リスト
- パッケージ化
- パッケージ検査
- パッケージのインストール
- パッケージ バージョン
- パブリッシュ
- リモート
- 元に戻す
- 実行、デバッグ、実行
- 設定
- Studio での起動
- テンプレートの検索
- test-data add-entity
- test-data add-queue
- test-data add-variation
- TM
- UIA
- 検証
- workflow-examples get
- ワークフロー - 例のリスト
- UIP タスク
- uip traces
- UIP トレースのフィードバック
- 移行
- 参照とサポート
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 — テナント スコープのその他の読み取り対象領域。