|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPrincipalRoles
Interface describing assessments of PrincipalRoles.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
IRoomRole[] getRoles()
boolean hasRole(IRoomRole role)
role - the role for the check
boolean removeAllRoles()
boolean removeRole(IRoomRole role)
role - the role to be removed from the principal
boolean isEmpty()
boolean addRole(IRoomRole role)
newRole - the new role for the principal
boolean addRoles(IRoomRole[] roles)
newRoles - 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
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||