public interface DetailedUser extends ApplicationUser
ApplicationUser with additional details relating to the directory backing the user.MAX_SLUG_LENGTH, SLUG_REGEXP| Modifier and Type | Method and Description |
|---|---|
String |
getDirectoryName()
Retrieves the name of the underlying directory in which this user is stored.
|
Date |
getLastAuthenticationTimestamp()
Retrieves the timestamp for the user's most recent authentication.
|
boolean |
isDeletable()
Retrieves a flag indicating whether the directory in which this user is stored supports deleting the user.
|
boolean |
isMutableDetails()
Retrieves a flag indicating whether the directory in which this user is stored supports updating the user's
details, such as
display name and e-mail address. |
boolean |
isMutableGroups()
Retrieves a flag indicating whether the directory in which this user is stored supports modifying the user's
groups, either to add new groups or remove existing ones.
|
accept, getDisplayName, getId, getSlug, getType, isActivegetEmailAddress, getName@Nullable String getDirectoryName()
In certain circumstances, it may not be possible to determine the directory name. However, while this property
is Nullable, it will generally be available.
@Nullable Date getLastAuthenticationTimestamp()
null if:
The exact avenues for "authenticating" vary. The base system, without any custom plugins, tracks authentication for the following:
AuthenticationSuccessEvents for successful
attempts, they will be included in this tracking.nullboolean isDeletable()
true if the underlying directory supports deleting users; otherwise, falseboolean isMutableDetails()
display name and e-mail address.true if the underlying directory supports changing details; otherwise, falseboolean isMutableGroups()
true if the underlying directory supports changing groups; otherwise, falseCopyright © 2019 Atlassian. All rights reserved.