legacy-knowledge-base
公開されました Jun. 30, 2025

特定のサイト役割に割り当てられたユーザーを表示できない

written-by

Madhusudan Sharma

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • & 、不要なユーザーを削除するために、特定のサイト・ロールに割り当てられているユーザーのリストを確認するための "Users "タブまたはセクションを表示できない。
  • 手順コントロールパネル > ロール > サイトロールに移動します。ここには、サイトロールに割り当てられたユーザーを表示/削除するオプションはありません。

環境

  • Liferay DXP 7.4

解像度

  • UI では、コントロールパネル > ロール > サイトロールでユーザーを直接表示/削除する方法はありません。
  • しかし、どのユーザーが特定のサイト・ロールに割り当てられているかを表示するには、個々のユーザーをチェックすることで実現できる。 このためには、コントロールパネル > ユーザーと組織 > 'ユーザーを選択' > 役割 > サイトの役割に移動します。 (そのユーザーは、(x)ボタンをクリックすることで、そのサイト・ロールから削除することができます)
  • さらに、別の方法として、データベースを使用することもできます(いくつかのSQLクエリを実行する)。
    1. 'Role_' テーブルで、サイト・ロール 'roleId' を見つける。
    2. UserGroupRole' テーブル を使用して、 サイト・ロールに属する userId を探します。
    3. ここで、'User_' テーブル を使って、userId を持つユーザーが誰であるかを調べる。
    4. サイトロールからユーザーを削除するには、 (コントロールパネルに移動 --> ユーザーと組織 --> 'ユーザーを選択' --> ロール --> サイトロールの下にサイトロールがあります)
    5. (x)ボタンをクリックして、ユーザーをサイトロールから削除します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base