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

closed as off-topic by Pieter Goosen, birgire, G. M., ialocin, Wyck Aug 9 at 16:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

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

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