org.pentaho.platform.engine.security.userroledao
Interface IPentahoUser
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- PentahoUser
public interface IPentahoUser
- extends Serializable
A user of the Pentaho platform. Contains a set of roles for which this user is a member.
- Author:
- mlowery
getUsername
String getUsername()
getRoles
Set<IPentahoRole> getRoles()
setRoles
void setRoles(Set<IPentahoRole> roles)
addRole
boolean addRole(IPentahoRole role)
- Returns:
- Same meaning as Set.add return value.
removeRole
boolean removeRole(IPentahoRole role)
- Returns:
- Same meaning as Set.remove return value.
clearRoles
void clearRoles()
getPassword
String getPassword()
setPassword
void setPassword(String password)
isEnabled
boolean isEnabled()
setEnabled
void setEnabled(boolean enabled)
getDescription
String getDescription()
setDescription
void setDescription(String description)