# 自动将新用户（来自 WP 集成）添加到群组

**URL:** https://meta.discourse.org/t/automatically-adding-new-users-from-wp-integration-to-a-group/156777
**Category:** WordPress
**Created:** [2020年七月4日 14:10 UTC](https://meta.discourse.org/t/automatically-adding-new-users-from-wp-integration-to-a-group/156777 "2020-07-04T14:10:25Z")
**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: [2020年七月4日 16:38 UTC](https://meta.discourse.org/t/automatically-adding-new-users-from-wp-integration-to-a-group/156777/2 "2020-07-04T16:38:06Z")

</div>

我假设你正在使用 [WP Discourse](https://github.com/discourse/wp-discourse) 插件进行 SSO。该插件提供了一些可用于管理 Discourse 群组成员的函数。请查看 [Manage group membership in Discourse with WP Discourse SSO](https://meta.discourse.org/t/managing-discourse-group-membership-with-wp-discourse-sso/74724) 以了解如何使用这些函数的详细信息。我稍后会更新该主题，添加一个更通用的示例。如果主题中的任何内容不清楚，请告诉我。

---

_[View the full topic](https://meta.discourse.org/t/automatically-adding-new-users-from-wp-integration-to-a-group/156777)._
