Class User
java.lang.Object
com.linecorp.centraldogma.server.metadata.User
- All Implemented Interfaces:
Identifiable
,Serializable
- Direct Known Subclasses:
UserWithToken
A user.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionemail()
Returns the e-mail address of the user.boolean
int
hashCode()
id()
Returns theString
-formatted identifier.boolean
Returnstrue
if this user has system administrative privileges.login()
Returns the login ID of the user.name()
Returns the human friendly name of the user.roles()
Returns the roles of the user.toString()
-
Field Details
-
LEVEL_USER
-
LEVEL_SYSTEM_ADMIN
-
DEFAULT
-
SYSTEM_ADMIN
-
SYSTEM
-
-
Constructor Details
-
User
Creates a new instance. -
User
Creates a new instance. -
User
Creates a new instance.
-
-
Method Details
-
login
Returns the login ID of the user. -
name
Returns the human friendly name of the user. -
email
Returns the e-mail address of the user. -
roles
Returns the roles of the user. -
id
Description copied from interface:Identifiable
Returns theString
-formatted identifier.- Specified by:
id
in interfaceIdentifiable
-
isSystemAdmin
public boolean isSystemAdmin()Returnstrue
if this user has system administrative privileges. -
equals
-
hashCode
public int hashCode() -
toString
-