public interface AuthenticatedUser
| Modifier and Type | Method and Description |
|---|---|
AuthenticatedUserAccount |
getAccount()
Returns the account (=company).
|
String |
getIdentifier()
Returns the UUID string representation for regular users or a resource
server key or a client key.
|
List<WorkspacePermission> |
getPermissions()
Returns the permission for all the workspaces.
|
UserRole |
getRole()
Returns the role of the user in his company.
|
UserStatus |
getStatus()
Return the status of the user.
|
String |
getUserName()
Returns the username.
|
boolean |
isActive(UserRole role)
Convenience method to check if user is active and has the given role.
|
String getIdentifier()
String getUserName()
AuthenticatedUserAccount getAccount()
UserRole getRole()
UserStatus getStatus()
boolean isActive(UserRole role)
role - List<WorkspacePermission> getPermissions()
Copyright © 2015 LeanIX GmbH. All rights reserved.