Interface ConfluenceUser

All Superinterfaces:
com.atlassian.user.Entity, Principal, RelatableEntity, Serializable, com.atlassian.user.User
All Known Implementing Classes:
ConfluenceUserImpl, DeferredLookupUser, ReadOnlyConfluenceUser

public interface ConfluenceUser extends com.atlassian.user.User, RelatableEntity
Describing a Confluence user.

A ConfluenceUser extends a "standard" user to have a fixed unique user key. This user key replaces 'username' as the canonical key to the User allowing username to be renamed if required.

Since:
5.2
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.sal.api.user.UserKey
    Return the immutable and unique key for the user.
    default @Nullable String
     

    Methods inherited from interface com.atlassian.user.Entity

    getName

    Methods inherited from interface java.security.Principal

    equals, getName, hashCode, implies, toString

    Methods inherited from interface com.atlassian.user.User

    getEmail, getFullName
  • Method Details

    • getKey

      com.atlassian.sal.api.user.UserKey getKey()
      Return the immutable and unique key for the user.
      Returns:
      the unique key for this user.
    • getLowerName

      default @Nullable String getLowerName()
      Returns:
      the lower username
      Since:
      6.12.0