WordPress.org

Forums

Import CSV with Ultimate CSV Importer
[resolved] How to assign users to a self created role? (4 posts)

  1. zitrusman
    Member
    Posted 1 year 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!

    http://wordpress.org/plugins/wp-ultimate-csv-importer/

  2. smackcoders
    Member
    Plugin Author

    Posted 1 year ago #

    The ids mentioned here is wordpress role ids as referred here
    http://codex.wordpress.org/Roles_and_Capabilities

  3. zitrusman
    Member
    Posted 1 year ago #

    Hey.

    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
    Member
    Posted 1 year ago #

    Hello,

    Did you find a solution ?

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

    Can you help me ?

    Guillaume.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Import CSV with Ultimate CSV Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic