Automated group creation using CSV of email addresses or user names?

Hi, currently I am using SSO to create users on Discourse through my Rails site, which works well. However I also need to create different categories that will be accessible by different groups, based on these users. Is there a script or any automated method to create groups, without having to hack the database?

Thanks!

Use the API, see the howto category for examples.

1 Like