Title: [Plugin: User Access Manager] Programmatically adding users to groups
Last modified: August 19, 2016

---

# [Plugin: User Access Manager] Programmatically adding users to groups

 *  [j63](https://wordpress.org/support/users/j63/)
 * (@j63)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-programmatically-adding-users-to-groups/)
 * Hi.
 * UAM is a great plugin. I’m extending it a bit to better meet my needs, however
   I’m having trouble figuring out how to assign users to groups since that doesn’t
   happen out in the open like group creation/updating.
 * Given a user and a list of group IDs, what do I need to do to get the user to
   be in exactly those groups (ignoring role-induced groups, of course)?
 * Thanks

The topic ‘[Plugin: User Access Manager] Programmatically adding users to groups’
is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [j63](https://wordpress.org/support/users/j63/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-programmatically-adding-users-to-groups/)
 * Status: not resolved