legacy-knowledge-base
公開されました Jul. 2, 2025

作成時にユーザーに関連付ける特定のロールを付与する。

written-by

Liferay Support

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

環境によっては、作成されるすべてのユーザーに特定のロールを関連付ける必要があります。 ユーザーが作成された後に を編集して、すべてのユーザーにロールを手動で関連付ける代わりに、ポータルで作成されたすべてのユーザーが特定のロールを持つように設定できる portal.properties のセットがあります。

解像度

これは6.1のデフォルトの設定ですが、このプロパティを設定することで、追加のロール名を追加することができます。
#
# Input a list of default role names separated by \n characters that are
# associated with newly created users.
#
admin.default.role.names=Power User\nUser
did-this-article-resolve-your-issue

legacy-knowledge-base