@since: bbPress (r4235)
Description
bbp_profile_update_role()

Helper function hooked to ‘bbp_profile_update’ action to save or update user roles and capabilities.

Source: bp-forums/users/capabilities.php:187