Title: multiple roles
Last modified: July 27, 2019

---

# multiple roles

 *  Resolved [nathanwright](https://wordpress.org/support/users/nathanwright/)
 * (@nathanwright)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-roles-14/)
 * Hi Tom
 * Looks like a great plugin.
 * In my external mySQL database I have multiple roles and users can belong to numerous
   roles. How can I pass back these multiple roles to WordPress via your plugin?
 * Also do you plan to release a paid premium version of this plugin?
 * Thanks
 * Nathan

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-roles-14/#post-11774595)
 * Hey Nathan,
 * To make sure I understand you correctly – you’d like it that when a user is authenticated,
   they are assigned the same named role in WordPress.
 * This is currently supported via role mapping. If you create those roles in WordPress,
   you can then use the role mapping feature to map the name of the role in the 
   external database with the created WordPress role with the same name.
 * What isn’t currently supported is creating a role in WordPress if it currently
   doesn’t exist. The problem with this would be, what permissions should External
   Login assign to this newly created role? Maybe just create a role with the same
   permissions as the “Unspecified role” settings role?
 * Let me know your thoughts 🙂
 * Thanks,
 * Tom
 *  Thread Starter [nathanwright](https://wordpress.org/support/users/nathanwright/)
 * (@nathanwright)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-roles-14/#post-11774678)
 * Hi Tom
 * Good point.
 * How do I pass in the multiple role names, is it a comma separated list in the
   role field or can I only pass in a single role per user?
 * Nathan
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-roles-14/#post-11775248)
 * Hey Nathan,
 * There’s a new feature that allows multiple roles from the external database to
   be mapped in if they are in the same field and separated by a character.
 * Download the plugin and you’ll see the option in the roles section in the settings.
 * You check the box for the multiple roles per user and then you can specify which
   character in the external database is used to separate the roles. Instructions
   appear when you tick the box.
 * Let me know if you have any issues but also let me know if this is working for
   you.
 * Thanks,
 * Tom
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-roles-14/#post-11797290)
 * Hey [@nathanwright](https://wordpress.org/support/users/nathanwright/),
 * I haven’t heard back from you so I’m presuming you resolved your problem.
 * If you have any further questions, don’t hesitate to get back in contact.
 * If the plugin is doing everything you need I’d be grateful if you could take 
   the time to [write a review](https://wordpress.org/support/plugin/external-login/reviews/#new-post).
 * Thanks,
 * Tom

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘multiple roles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-login_fbebd6.svg)
 * [External Login](https://wordpress.org/plugins/external-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-login/)
 * [Active Topics](https://wordpress.org/support/plugin/external-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-login/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/multiple-roles-14/#post-11797290)
 * Status: resolved