How does Drupal 7.x store roles?

does anyone have code they'd like to share for parsing out all a user's roles and for adding a new role?

thanks.

Comments

jeditdog’s picture

I asked first before looking at the tables because I remembered it being more difficult in D6 (been a little while since I coded it).

It could definitely not be anymore straightforward than it is in D7.

I'll try to remember to post the SQL when I have it finished.