Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Where in the MySQL tables is the User Role stored for BuddyPress / WordPress?

Thanks.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

When you ask where are they stored for BuddyPress / WordPress? Do you mean, WordPress with the budypress plug-in?

For Wordpress the users are stored in the wp_users table. The users's role is stored in the wp_usermeta with meta_key 'capabilities'. The user_id column in that table references the ID in the users table.

I don't know about BuddyPress.

share|improve this answer
    
Thanks @StephenHarris. That was the answer. BuddyPress uses WordPress' _usermeta table for roles. –  H. Ferrence Jan 25 '12 at 14:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.