Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Import user with customized role

$
0
0

Replies: 0

Hi
I’m trying to do my best to import users with their roles following your test template, but I’m failing.

what I’ve tried is the following:
user_login,Email,Password,roles
paco,paco@com.es,Password,adminstrator
pedro,pedro@com.es,Password,Suscriptor
fran,fran@com.es,Password,CustomRole1
romi,romi@com.es,Password,CustomRole2

I’m trying to insert the role in the column ‘roles’ as you can see the first two roles are the once predetermined by wordpress but the other two are customized roles.
The insert instruction only records the user name, email and password but not the role.
What I’m doing wrong???

Gracias de antemano.
Un saludo
Luis


Viewing all articles
Browse latest Browse all 59525

Trending Articles