Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

To retrieve currently logged in user information:

  • #currentUser.id#
  • #currentUser.username#
  • #currentUser.firstName#
  • #currentUser.lastName#
  • #currentUser.email#
  • #currentUser.active#
  • #currentUser.timeZone#

Extra syntax available in Enterprise Version:

. See Extended Current User Hash Variable for more attributes available for Current User Hash Variable.

Prefix

Code Block
currentUser

Attributes

  • #currentUser.id#
  • #currentUser.username#
  • #currentUser
  • #currentUser.organization.id#
  • #currentUser.organization.name#
  • #currentUser.organization.description#
  • #currentUser.department.id#
  • #currentUser.department.name#
  • #currentUser.department.description#
  • #currentUser.grade.id#
  • #currentUser.grade.name#
  • #currentUser.grade.description#
  • #currentUser.hod.username#
  • #currentUser.hod.firstName#
  • #currentUser.hod.lastName#
  • #currentUser.hod.email#
  • #currentUser.hod.active#
  • #currentUser.hod.timeZone#timeZone#

Scope of use

  • All components within the App.