# User group sync with drupal

**URL:** https://meta.discourse.org/t/user-group-sync-with-drupal/175764
**Category:** Support
**Created:** [January 11, 2021, 1:57pm UTC](https://meta.discourse.org/t/user-group-sync-with-drupal/175764 "2021-01-11T13:57:26Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 11, 2021, 11:40pm UTC](https://meta.discourse.org/t/user-group-sync-with-drupal/175764/2 "2021-01-11T23:40:03Z")

</div>

Are you using [Discourse’s implementation of SSO](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045) to log users into Discourse from Drupal? If so, you can use the `add_groups` and `remove_groups` parameters to set user’s group membership. Details about how to do that are in the ‘Specifying group membership’ section of the topic that I linked to.

---

_[View the full topic](https://meta.discourse.org/t/user-group-sync-with-drupal/175764)._
