Central element is
the assignment of roles to role sets. The assigned roles are offered in
PARTdataManager/3Dfindit when calling Authenticate/switch users
or Select group
.
At least one role is assigned to a Role set in PARTadmin, in the dialog area Available roles and their display order.
If a role set
includes multiple
roles, in PARTdataManager, when clicking
Authenticate/switch users
or Select group
, the dialog box Select role is opened.[66]
The sequence of roles in the dialog box Select role corresponds to sequence under Available roles and their display order.
You can change the order of the displayed roles, if needed.
Select the role and move it to the desired position with pressed mouse button.
Control role selection via system variable
The role selection can be controlled via a system variable as well. The desired role is automatically selected during the login process, whether or not the user is validly configured for this role or has more than one role to select from. More information can be found under Section 4.7.4.2, “ plinkcommon.cfg -> Block [Common] -> Key "CADENAS_PRESELECT_LINKDB_GROUP" - Role selection by environment variable ”.
Setting via user interface: PARTadmin -> ERP environment -> User-Role assignment
In order to assign roles to a user select the desired user and activate the respective checkboxes.
The selection is
saved under $CADENAS_SETUP/plinkusers.cfg in
the key GROUPS.
[ecat]
GROUPS="ECATALL","ECAT1","ECAT2","ECAT3","ECAT4","ECAT5","ECAT6"
GROUPORDER="DUMMY","ECATALL","ECAT1","ECAT2","ECAT3","ECAT4","ECAT5","ECAT6","LOC1",...
[66] How to set image and description can be found under Section 4.7.3.1.1, “ Dialog box for role selection - plinkgroups.cfg -> Block [Role name] -> Keys "DESC" and "IMAGE" ”.


![[Note]](https://webapi.partcommunity.com/service/help/latest/pages/en/partsolutions_admin/doc/images/note.png)

