Data Hub 2.0
Importing Enrollment Information
Assigning Users to Groups
Automatically Creating Groups and Groupings:
When users are being enrolled in Moodle courses with Data Hub they can be also be added to groups and groupings in the course. The groups can be existing already or Data Hub can be used to create the groups.To create groups with Data Hub a setting located on the Data Hub block configuration screen needs to be enabled. It's shown on the bottom of the next image.
Note: this setting is needed to create groups and groupings from your import file, for adding users to existing groups and groupings this setting does not need to be enabled.