Easy way to remove users from a Group/Forum?

Hello,

For some of our forums, we assign the role “Registered Users” so that all users with a community account are automatically added to the group/forum.

However, we have noticed that when this role is removed, the users are not removed, and the Members list remains populated with all community members.

Is there a way to remove all members from a group/forum without having to go through each one individually?

Regards,

  • Hi  

    Out of the box, there isn’t a built-in way to bulk remove members from a group or forum once they’ve been added via a site role like “Registered Users.” The only native way to remove those users would be to remove the site role itself—but doing so could unintentionally impact their access and permissions elsewhere in the community if that role is used across multiple groups.

    In our experience, organizations that need to manage membership at scale (either adding or removing users in bulk) typically rely on a custom solution. We’ve developed scripts that allow for bulk updates to group membership, either based on a defined list of users or by leveraging site roles.

    As a best practice going forward, we recommend creating a dedicated site role for each group—for example, “GroupName Members”—rather than using “Registered Users.” This approach allows you to manage membership more precisely, since users can be added or removed from the group simply by assigning or removing that specific role, without affecting broader community access.

    For your current situation, there isn’t a native bulk removal option available, so cleanup would need to be done manually or through a custom script to streamline the process.

    Hope this helps—happy to discuss the scripting option further if that would be useful.