Package com.atlassian.confluence.user
Interface ConfluenceUser
- All Superinterfaces:
- com.atlassian.user.Entity,- Principal,- RelatableEntity,- Serializable,- com.atlassian.user.User
- All Known Implementing Classes:
- ConfluenceUserImpl,- DeferredLookupUser,- ReadOnlyConfluenceUser,- ServiceAccountUserImpl
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 Details- 
getKeycom.atlassian.sal.api.user.UserKey getKey()Return the immutable and unique key for the user.- Returns:
- the unique key for this user.
 
- 
getLowerName- Returns:
- the lower username
- Since:
- 6.12.0
 
- 
isServiceAccountdefault boolean isServiceAccount()Returns whether this user entity is a service account user.- Returns:
- true if the authenticated user is an OAuth2 service account.
- Since:
- 10.0
 
 
-