Support » Plugin: wpDirAuth » Multiple User Conversion

  • Resolved ryan42smith

    (@ryan42smith)


    Hello I am working on a project for work that needs to convert hundreds of existing users to our new wp site. They exist in three groups called Admin, Staff and Faculty, and Students. We want to integrate them from our existing database to be able to login on our wp site using there existing credentials. Is there a way to make this possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Gilzow

    (@gilzow)

    I think you also contacted me via email, but wanted to follow-up here just in case this isnt the same person. There is not currently bulk-import or ldap group to role association with wpDirAuth.

    Having said that, I could create some filters/actions whereby you could hook into the User Creation process passing over the user’s AD/LDAP properties (including memberOf array) and the WP_User object. This would allow you to then user wp_udate_user assigning them whatever role you want according to what group they are a member of. If that would be of value, let me know and I’ll work on adding those hooks.

    Plugin Author Paul Gilzow

    (@gilzow)

    Wanted to let you know I’ve almost completed version 1.9.0 which has the hooks I mentioned previously. If you’d like to test it out, you can access it here: https://gist.github.com/gilzow/a051e5ace829c9b1e99d37d7f25a800c

    Explanation of the filters/actions are available in this thread: https://wordpress.org/support/topic/custom-field-61/#post-9067452

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple User Conversion’ is closed to new replies.