public final class User extends UserRoleBase
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayNameWithoutUID()
Returns the display name not including the UID.
|
java.lang.String |
getEmailAddress()
Returns the email address or null if no email address has been specified for this user.
|
java.lang.String |
getEmailAddressRFC822()
Returns the email address formatted according to RFC822 or null if no email address has been specified for this user.
|
java.util.Set<java.lang.String> |
getRoles()
Returns the list of roles this user is currently assigned to.
|
getDisplayName, getUniqueID, toString
toXMLString
public java.lang.String getDisplayNameWithoutUID()
getDisplayNameWithoutUID
in class UserRoleBase
public java.lang.String getEmailAddress()
public java.lang.String getEmailAddressRFC822()
John President
<john@canto.com>
public java.util.Set<java.lang.String> getRoles()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.