- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- add-test-data-entity
- テスト データのキューを追加
- 追加-テスト-データ-バリエーション
- 分析
- 開発
- プロジェクトを作成
- 差分
- アクティビティを検索
- GET-ANALYZER-RULES
- get-default-activity-xaml
- エラーを取得
- 手動テスト用のテスト ケースを取得
- 手動テストステップを取得
- get-library-object-repository
- get-object-repository
- get-versions
- Get-workflow-example
- indicate-application
- 要素を示す
- inspect-package
- install-data-fabric-entities
- パッケージのインストールまたは更新
- list-data-fabric-entities
- list-instances
- list-workflow-examples
- パッケージ化
- パブリッシュ
- remote
- 元に戻す
- run, debug & execution
- ファイル名を実行
- 検索テンプレート
- スタートスタジオ
- 実行を停止
- tm
- UIA
- uip tasks
- uip traces
- uip traces feedback
- 移行
- 参照とサポート
Syntax and options for `uip user`, which shows identity information about the currently logged-in session.
uip user shows who the current session is authenticated as — a whoami for uip. It takes no arguments and no options beyond the global ones.
概要
uip user
uip user
uip user honors the global options (--output, --output-filter, --log-level, --log-file). Exit codes follow the standard contract.
引数
設定はありません。
オプション
グローバル オプション以外にはありません。
例
uip user
uip user
データシェイプ(--output json)
{
"Code": "User",
"Data": {
"UserId": "a1b2c3d4-0000-0000-0000-000000000001",
"Name": "Jane Doe",
"Username": "jane.doe@my-org",
"Email": "jane.doe@my-org.com",
"FirstName": "Jane",
"LastName": "Doe"
}
}
{
"Code": "User",
"Data": {
"UserId": "a1b2c3d4-0000-0000-0000-000000000001",
"Name": "Jane Doe",
"Username": "jane.doe@my-org",
"Email": "jane.doe@my-org.com",
"FirstName": "Jane",
"LastName": "Doe"
}
}
The fields are parsed straight out of the session's access token claims. When the active session is an application (client-credentials) session rather than a human user, there is no person behind it — UserId/Name/Username/Email/FirstName/LastName come back as empty strings, but the response also includes IdentityType (identifying it as an application identity) and ClientId, so a script can distinguish "no user data" from "not actually a user."
Failure behavior
- Not logged in:
AuthenticationError, exit code2, withInstructionspointing touip login. - Session present but the login-status check itself fails (for example, a corrupted credentials file):
ConfigError, exit code1.
関連
- uip login — start the session
uip userreports on. - uip login status — session-level detail (org, tenant, expiration) rather than user identity.
- Authentication — the credential model behind the session.