| com.atlassian.bitbucket.user.ApplicationUser |
Known Indirect Subclasses
|
Represents a registered application user.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | MAX_SLUG_LENGTH | The maximum length of a user slug | |||||||||
| String | SLUG_REGEXP | The regex for user slugs | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| TO_ID |
This field is deprecated.
in 4.0 for removal in 5.0. With Java 8, ApplicationUser::getId can be used instead.
|
||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.bitbucket.user.Person
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the "slug" for this user, which is a URL-friendly variant of its
name. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.bitbucket.user.Person
| |||||||||||
From interface
java.security.Principal
| |||||||||||
The maximum length of a user slug
This field is deprecated.
in 4.0 for removal in 5.0. With Java 8, ApplicationUser::getId can be used instead.
Retrieves the "slug" for this user, which is a URL-friendly variant of its name. 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.
true if the user is enabled, false for deleted and disabled users.