DEFAULT_ROLES_FOR_NEW_USERS
STRING, comprising of a pair of laboratory code and role. Comma separated if more than one role is to be assigned.
Preference Value
- Role Name:Labcode
- Role Name01:Labcode,Role Name02:Labcode,...(if defining more than one role)
Note: The labcode must have the Is Available for Login value be True otherwise if the lab is defined in the preference but the property is false then the user cannot be created.
When you create a new user
- If the preference is empty (default on deploy), not available, or not active then the user gets created without any roles assigned (existing behaviour).
- If the preference has a valid value, then the user gets created with this value assigned.
- If the preference does not have a valid value, then a user will not get created and will return an error in CCUSER to indicate the issue that should be fixed in the application preference.
Note: This preference is advised to be a laboratory level preference. It can be used as an organisational level preference for higher level maintenance.
