Confluence 2.9 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
How do I find the logged in user?
This can be retrieved easily from the com.atlassian.confluence.user.AuthenticatedUserThreadLocal class which will give you the current logged in user as a com.atlassian.user.User object.
User user = AuthenticatedUserThreadLocal.getUser();
Should the user not be logged in the user object will be null.
概要
コンテンツ ツール
アプリ
