legacy-knowledge-base
公開されました Sep. 10, 2025

APIでスクリーン名を変更した場合、マイダッシュボードのURLが変更されません。

written-by

Shimada Taro

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

問題

  • API(UserLocalServiceUtil.updateUser())でスクリーン名を変更した場合、マイダッシュボードのURLが変更されません。

環境

  • 7.0+

解決

  • 以下のAPIをご利用ください。
    UserLocalServiceUtil.updateScreenName(userid, screenName);
did-this-article-resolve-your-issue

legacy-knowledge-base