Fixes #4270: Added an option to userManagement to handle the primary groups of new users