New: we added support for the bulk import of user groups in Settings > Sharing.
This works like the bulk import of sub-calendars and links.
To import groups, you need administrator access.
See more details and an example for proper CSV formatting.