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

ユーザーアカウント設定における個人情報フィールドの無効化

written-by

Dia Seung

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

問題

  • ユーザーアカウント設定の個人情報欄を無効にして、ユーザーが自分の名前やスクリーン名などの個人情報を編集できないようにしたいです。

環境

  • DXP 7.3

解決

  • portal-ext.properties ファイルに以下の行を追加します:
    field.editable.user.types=user-with-mx
    field.editable.domains=somefakedomain.com
    注意:これにより、すべてのユーザー(メールに 'somefakedomain.com' ドメインを含むユーザーは除く)にはプロファイルフィールドの編集権限がない状態になります。
  • ユーザーに編集を許可するフィールドを個別にカスタマイズしたい場合は、以下のプロパティ(コメントなし)に適切なメールドメインを値として設定して使用することができます:
    #field.editable.domains[birthday]=
    #field.editable.domains[emailAddress]=
    #field.editable.domains[firstName]=
    #field.editable.domains[gender]=
    #field.editable.domains[jobTitle]=
    #field.editable.fields.editable.domains[lastName]=
    #field.editable.domains[middleName]=
    #field.editable.domains[portrait]=
    #field.editable.domains[prefix]=
    #field.editable.domains[screenName]=
    #field.editable.domains[suffix]=

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base