public class Role.UserNames extends ListPackManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
void |
addUser(java.lang.String name)
Adds the specified user to this role.
|
java.util.Set<java.lang.String> |
getUsernames()
Returns the names of users assigned to this role.
|
void |
removeUser(java.lang.String name)
Removes the specified user from this role.
|
JPack |
savePack()
No need to call this method.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public java.util.Set<java.lang.String> getUsernames()
public void addUser(java.lang.String name)
name
- name of the user to addpublic void removeUser(java.lang.String name)
name
- name of the user to removepublic 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.