Package com.atlassian.bitbucket.user
Interface ApplicationUser
- All Known Subinterfaces:
 DetailedUser,ServiceUser
Represents a registered application user.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe maximum length of a user slugstatic final StringThe regex for user slugs - 
Method Summary
Methods inherited from interface com.atlassian.bitbucket.user.Person
getEmailAddress, getName 
- 
Field Details
- 
MAX_SLUG_LENGTH
static final int MAX_SLUG_LENGTHThe maximum length of a user slug- See Also:
 
 - 
SLUG_REGEXP
The regex for user slugs- See Also:
 
 
 - 
 - 
Method Details
- 
accept
 - 
getDisplayName
- Returns:
 - the user's display name
 
 - 
getId
int getId()- Returns:
 - the user id
 
 - 
getType
- Returns:
 - the type of user
 
 - 
isActive
boolean isActive()- Returns:
 trueif the user is enabled,falsefor deleted and disabled users.
 - 
getSlug
Retrieves the "slug" for this user, which is a URL-friendly variant of itsname. Each user's slug is guaranteed to be unique within the system.Although URL-friendly, appropriate encoding should still be performed on this slug whenever it is used in a URL.
- Returns:
 - the user's slug
 
 
 -