public final class Roles extends RecordPackWrapper
PermissionManager.getRoles()
Modifier and Type | Field and Description |
---|---|
static int |
KEY_ROLES_LIST |
Modifier and Type | Method and Description |
---|---|
int |
countRoles()
Returns the number of roles contained in this list.
|
Role |
getRole(int index)
Returns the role for the given index.
|
Role |
getRole(java.lang.String id)
Returns the role for the given ID.
|
toXMLString
public int countRoles()
public Role getRole(int index)
index
- index of the role to getpublic Role getRole(java.lang.String id)
id
- role IDwww.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.