User Assignment
You can use this pattern to assign users to specific roles. You configure the search for a particular user based on certain criteria such as name or e-mail address. The User Assignment pattern is a UI component pattern that can be embedded in any composite application.
The data basis for the users is the User Management Extension (UME). Generic user information is retrieved by the UME API.
The User Assignment pattern consists of two parts:
● User Assignment Configurator
● User Assignment UI
The User Assignment Configurator is used to configure and adapt the user interface to select users for assignment to entity services. You can define the principal types for user assignment and attributive information by which they can be searched.
The following principal types can be selected:
● All principals
Includes each type of principal user.
● Users
The individual user is listed.
● User Groups
These can be, for example, developers or administrators.
● Roles
For example, an owner or author.
You can search for a user based on the following attributes:
● Display Name
● User ID
● Description
● First Name
● Last Name
You can also limit the number of hits returned by the search based on the above configurations, although the default value is 0. As well, you can allow for the multiple selection of users returned. To generate the user assignment layout, you must specify a configuration name.
After you have generated the configured User Assignment pattern, you have the option to search for a particular user. The selected user will appear in the layout and include the group assigned to that user.