# Discourse と s2member の併用

**URL:** https://meta.discourse.org/t/using-discourse-with-s2member/79366
**Category:** WordPress
**Created:** [2018 年 1 月 30 日午後 1:27 UTC](https://meta.discourse.org/t/using-discourse-with-s2member/79366 "2018-01-30T13:27:27Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [2018 年 1 月 30 日午後 6:46 UTC](https://meta.discourse.org/t/using-discourse-with-s2member/79366/4 "2018-01-30T18:46:08Z")

</div>

The WordPress plugin has a couple of functions that can be used to add and remove members from Discourse groups. You will need to write some code, or get someone to write some code for you, in order to use them. There is some information about how to do it here: [Manage group membership in Discourse with WP Discourse SSO](https://meta.discourse.org/t/managing-discourse-group-membership-with-wp-discourse/74724)

There are some issues with rate-limiting when these functions are used. They will fail if you are trying to add or remove many users at the same time. I’m going to change the function’s code to solve this problem ( change them to use the `sync_sso` route instead of making API calls.) The function’s interface won’t change, so it’s safe to try them now.

---

_[View the full topic](https://meta.discourse.org/t/using-discourse-with-s2member/79366)._
