public interface IRoomUsers
IRoomPrincipals instead| Modifier and Type | Method and Description |
|---|---|
boolean |
addGroupUsersToRole(IGroup group,
IRoomRole role,
boolean childMembers)
Assign all users who are member of a given group to a specific room role.
|
boolean |
addGroupUsersToRoles(IGroup group,
IRoomRole[] roles,
boolean childMembers)
Assign all users who are member of a given group to a a set of room roles.
|
IUserRoles |
addUserRole(String userId,
IRoomRole role)
Assign a new role to a user.
|
boolean |
addUserRoles(IRoomUsers refUsers)
Copy all user-role assignments from another IRoomUsers object
to this object.
|
IUserRoles |
addUserRoles(String userId,
IRoomRole[] roles)
Assign multiple roles to a user.
|
boolean |
containsUser(String userId)
Check if a user is contained
|
boolean |
deleteAllUsers()
Remove all users from all roles in this snapshot
|
boolean |
deleteUser(String userId)
Remove a specific user from all roles in this snapshot
|
boolean |
deleteUserRoles(String userId)
Same as
deleteUser(String): Remove a specific
user from all roles in this snapshot |
String[] |
getAllUsers()
Get the ids of all users
|
IRoomRole[] |
getUserRoles(String userId)
Get all roles a specific user is assigned to
|
IUserRoles |
getUserRolesObject(String userId)
Get a specific user and all assigned roles to the user
|
boolean |
hasUserRole(String userId,
IRoomRole role)
Check if a user is assigned to a specific role
|
boolean |
removeUserRole(String userId,
IRoomRole role)
Remove a specific role from a user
|
String[] getAllUsers()
boolean containsUser(String userId)
userId - the id of the userIUserRoles getUserRolesObject(String userId)
userId - the id of the userIRoomRole[] getUserRoles(String userId)
userId - the id of the userboolean hasUserRole(String userId, IRoomRole role)
userId - the id of the userrole - the role objectIUserRoles addUserRole(String userId, IRoomRole role)
userId - the id of the userrole - the role objectIUserRoles addUserRoles(String userId, IRoomRole[] roles)
userId - the id of the userroles - Array containing the new roles for the userboolean addGroupUsersToRole(IGroup group, IRoomRole role, boolean childMembers)
group - the user grouprole - the role objectchildMembers - false means only direct members of the group are assignedboolean addGroupUsersToRoles(IGroup group, IRoomRole[] roles, boolean childMembers)
group - the user grouproles - Array containing the roles for the group userschildMembers - false means only direct members of the group are assignedboolean addUserRoles(IRoomUsers refUsers)
refUsers - the IRoomUsers object containing the room-role
assignments to be copiedboolean deleteAllUsers()
boolean deleteUser(String userId)
userId - the id of the user to be removedboolean deleteUserRoles(String userId)
deleteUser(String): Remove a specific
user from all roles in this snapshotuserId - the id of the user to be removed| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/room
|
api
|
EP-KM-CRS
|
Copyright 2021 SAP SE Complete Copyright Notice