public static class User.RoleNames extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
void |
addRole(java.lang.String roleName)
Adds another role to the list of roles this user is assigned to.
|
java.util.Set<java.lang.String> |
getNames()
Returns the names of roles this user is assigned to.
|
void |
removeRole(java.lang.String roleName)
Removes a role from the list of roles this user is assigned to.
|
JPack |
savePack()
This method does not need to be called.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public java.util.Set<java.lang.String> getNames()
public void addRole(java.lang.String roleName)
roleName
- the name of the rolepublic void removeRole(java.lang.String roleName)
roleName
- the name of the rolepublic JPack savePack()
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.