# Add users to regions in community based on geolocation

**URL:** <https://meta.discourse.org/t/add-users-to-regions-in-community-based-on-geolocation/71443>\
**Category:** WordPress\
**Created:** [Outubro 5, 2017, 5:05am UTC](https://meta.discourse.org/t/add-users-to-regions-in-community-based-on-geolocation/71443 "2017-10-05T05:05:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [Outubro 5, 2017, 2:17pm UTC](https://meta.discourse.org/t/add-users-to-regions-in-community-based-on-geolocation/71443/4 "2017-10-05T14:17:49Z")

</div>

In that case, you could pass group names to discourse in the SSO load. You’d need to create the groups in discourse and then add code in WordPress to pass the group name. I’ve done this for group membership for subscriptions.

---

_[View the full topic](https://meta.discourse.org/t/add-users-to-regions-in-community-based-on-geolocation/71443)._
