Discourse Meta
批量移除组成员
产品支持
pfaffman
(Jay Pfaffman)
2021 年1 月 20 日 04:06
2
你可以参考
批量管理操作
获取一些思路。
例如:
GroupUser.where(group_id: 5).destroy_all
这可能可行,也可能导致你的银行账户被清空。
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Is there a non-query way to remove a bulk of users from groups?
Product Support
groups
5
489
2023 年7 月 10 日
Delete a member from a Group
Product Support
2
194
2024 年9 月 17 日
How to Create a Script to "Bulk Remove" from a Group?
Product Support
7
3314
2021 年11 月 14 日
Revoke moderators in bulk
Product Support
4
200
2025 年1 月 16 日
Delete all users not in a specific group
Product Support
1
609
2021 年8 月 20 日