3.6.2. 管理 CLI でのアクティブユーザーの表示
要件
whoami の操作は、現在アクティブなユーザーの属性を識別するために使用されるグローバルな操作です。この操作はユーザー名の ID と割り当てられたレルムを表示します。whoami の操作は、管理者が複数のレルムで複数のユーザーを管理する場合や、複数のターミナルセッションやユーザーアカウントを持つドメインインスタンス全体でアクティブユーザーを追跡する場合に便利です。
手順3.14 whoami を使用した管理 CLI でのアクティブユーザーの表示
whoamiの実行管理 CLI よりwhoamiを使用し、アクティブなユーザーのアカウントを表示します。[standalone@localhost:9999 /]
:whoami次の例はスタンドアロンサーバーでwhoamiを使用し、アクティブなユーザーは username でManagementRealmレルムが割り当てられていることを表しています。例3.8 スタンドアロンインスタンスでの
whoamiの使用[standalone@localhost:9999 /]:whoami { "outcome" => "success", "result" => {"identity" => { "username" => "username", "realm" => "ManagementRealm" }} }
現在アクティブなユーザーのアカウントが表示されます。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.