Title: Assign role to group
Last modified: April 17, 2025

---

# Assign role to group

 *  Resolved [obiwog](https://wordpress.org/support/users/obiwog/)
 * (@obiwog)
 * [1 year ago](https://wordpress.org/support/topic/assign-role-to-group-2/)
 * Is there a way to automatically assign users of a particular role to a particular
   group? We have a site configured with SSO login and can assign a role based on
   group membership passed by the SSO. Trying to figure out a way to at login assign
   those users to a group as well.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fassign-role-to-group-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [1 year ago](https://wordpress.org/support/topic/assign-role-to-group-2/#post-18424812)
 * This [https://github.com/itthinx/groups-role-registration](https://github.com/itthinx/groups-role-registration)
   plugin adds new users to groups based on their role(s). It will create the groups
   if they don’t exist.
 * Please note that this does not do it at login but only when a new user registers.
   I would suggest to derive a solution based on this plugin which also covers the
   case at login for your particular requirement.

Viewing 1 replies (of 1 total)

The topic ‘Assign role to group’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

## Tags

 * [role](https://wordpress.org/support/topic-tag/role/)
 * [SSO](https://wordpress.org/support/topic-tag/sso/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kento](https://wordpress.org/support/users/proaktion/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/assign-role-to-group-2/#post-18424812)
 * Status: resolved