2022 April Release

Customization Point FSCTEAMROOM@1.1001:CPGetRoomRoles Permanent link for this heading

This customization point defines the list of available room roles and the default role for new Room members. The customization point is evaluated on several points of the Room business logic, e.g. on calculating the room roles to be displayed in the team control. The roles list is ordered by room role priority. The first list entry is the role with highest priority, while the last list entry is the role with the lowest priority.

Example:
customize CPGetRoomRoles<TeamRoom> {
  roles = expression {
    return [#RoleTeamRoomOwner, #RoleTeamRoomFullControl,
            #RoleTeamRoomChangeAccess, #RoleTeamRoomReadAccess];
  }
  default = expression {
    return #RoleTeamRoomChangeAccess;
  }
  multipleroles = false;
}

RoomRole[] FSCTEAMROOM@1.1001:CPGetRoomRoles(
  key ObjectClass objclass,
  out retval RoomRole[] roles,
  out RoomRole default,
  out direct boolean multipleroles)

Name

Description

objclass

applies to objects of the defined object class

roles

defines an expression to get the list of available room roles; the return value is an object list of type RoomRole[] Note: The first returned room role will be handled as the highest role and the last one is the lowest role

default

defines an expression to get the default role for adding new team members; the return value is an object pointer to a RoomRole object

multipleroles

defines if a team member can have multiple room roles at the same time; the default value is false

Additional Information