com.atlassian.stash.user.StashUser |
Known Indirect Subclasses
|
Class Overview
Represents a registered user of Stash.
Constants
public
static
final
int
MAX_SLUG_LENGTH
The maximum length of a user slug
Constant Value:
127
(0x0000007f)
public
static
final
String
SLUG_REGEXP
Constant Value:
"[^\\/]+"
Fields
Public Methods
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.
public
boolean
isActive
()
Returns
true
if the user is enabled, false
for deleted and disabled users.