WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. zitrusman
    Member
    Posted 7 months 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 7 months ago #

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

  3. zitrusman
    Member
    Posted 7 months 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 5 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic