Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescription
Prefixuser
Description

To get user information based on username.

Replace the username below in red with the actual username (example admin) or {currentUser.username}.

Attributes
  • #user.username.username#
  • #user.username.firstName#
  • #user.username.lastName#
  • #user.username.fullName#
  • #user.username.email#
  • #user.username.active#
  • #user.username.timeZone#

In Joget Enterprise edition, these additional attributes are available:-

User Meta

  • #user.username.meta.KEY#
    To read additional user meta data stored in dir_user_meta table.
    Example: #user.cat.meta.duration# will return the value "100".

Organization

  • #user.username.organization.id#
  • #user.username.organization.name#
  • #user.username.organization.description#

Department

  • #user.username.department.id#
  • #user.username.department.name#
  • #user.username.department.description#

Grade

  • #user.username.grade.id#
  • #user.username.grade.name#
  • #user.username.grade.description#
  • #user.username.grade.organizationId#

HOD

  • #user.username.hod.username#
  • #user.username.hod.firstName#
  • #user.username.hod.lastName#
  • #user.username.hod.email#
  • #user.username.hod.active#
  • #user.username.hod.timeZone#

Group

  • #user.username.groups.id#
  • #user.username.groups.name#

Employment

  • #user.username.employee.code#
  • #user.username.employee.jobTitle#
  • #user.username.employee.isHod#

Department HOD

  • #user.username.department.hod.username#
  • #user.username.department.hod.firstName#
  • #user.username.department.hod.lastName#
  • #user.username.department.hod.email#
  • #user.username.department.hod.active#
  • #user.username.department.hod.timeZone#
Scope of Use
  • All components within the App.
Sample Attributes
  • #user.admin.groups.name#
  • #user.{currentUser.username}.groups.name#
  • #user.admin.email#
  • #user.{currentUser.username}.email#
  • #user.cat.firstName#
  • #user.{requestParam.username}.email# to retrieve the email address of the user passed via url parameter

...