Skip to main content
Skip table of contents

User

Methods

Name

Type

Description

$user.absoluteLink

String

The absolute link to this object.

$user.email

String

The email of the user as configured in the Confluence user profile.

$user.fullName

String

The full name of the user as configured in the Confluence user profile.

$user.image

Image

The profile image of the user.

$user.isInGroup(groupName)

boolean

True if the user is in the specified group, otherwise false.

  • Parameter: groupName

  • Type: String

  • Description: The name of the group to check for.

$user.link

String

The relative link to this object.

$user.locale

Locale

The Locale for the user. See Locale for more details. To access the language code or the language code use the following:

  • $user.locale.language – returns the 2-letter language code.

  • $user.locale.languageName – returns the language name.


$user.loggedIn

boolean

True if the user is logged in (that is the user is not anonymous), otherwise false.

$user.toString()

String

The name of the user.

$user.username

String

The username of the current user.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.