CSV Import for WordPress
[resolved] How to assign users to a self created role? (4 posts)

  1. zitrusman
    Posted 2 years ago #

    Hey guys.

    First, thanks for the plugin.

    My question is how i can assign a user to a self created role?
    Your plugin says: "Roles has to be mentioned by relevant role ids."

    But how do i get these role ids?

    Thanks in advance!


  2. smackcoders
    Plugin Author

    Posted 2 years ago #

    The ids mentioned here is wordpress role ids as referred here

  3. zitrusman
    Posted 2 years ago #


    Thanks for the answer. I already found this page.
    It's not clear for me how to assign these roles.

    I tested it.
    For example: I had the user_login, user_mail and role.
    For role I tried to assign the name of the role via a string. Like "administrator" or "subscriber" and my own role "niederoesterreich".
    But that didn't work. Neither for the standard roles nor for my own created role.

    Am I wrong with this approach?

  4. gvergano
    Posted 2 years ago #


    Did you find a solution ?

    I have also created a custom role but I don't know the right string.

    Can you help me ?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CSV Import for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic