public interface IPrincipalRoles
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRole(IRoomRole role)
Assign the principal to a new role.
|
boolean |
addRoles(IRoomRole[] roles)
Assign multiple roles to the principal.
|
IRoomRole[] |
getRoles()
Get all roles the principal is assigned to
|
boolean |
hasRole(IRoomRole role)
Check if the principal is assigned to a specific role
|
boolean |
isEmpty()
Check if the principal is assigned to no roles at all
|
boolean |
removeAllRoles()
Remove all roles from the principal
|
boolean |
removeRole(IRoomRole role)
Remove a specific role from the principal
|
IRoomRole[] getRoles()
boolean hasRole(IRoomRole role)
role - the role for the checkboolean removeAllRoles()
boolean removeRole(IRoomRole role)
role - the role to be removed from the principalboolean isEmpty()
boolean addRole(IRoomRole role)
role - the new role for the principalboolean addRoles(IRoomRole[] roles)
roles - Array containing all roles to be assigned to the principal| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/room
|
api
|
EP-KM-CRS
|
Copyright 2017 SAP AG Complete Copyright Notice