Say I have a user role PendingArtist, and its Profile2 fields: skills and about me.

How do I change the role of a user? And does the role change delete the PendingArtist's Profile2 fields?

Edited: Don't know why I asked this, could have tried it out myself. Please ignore this question.

  • are using profile2 only or in combination with profile2_regpath?
    – oksana-c
    Feb 3, 2016 at 10:57
  • The new role does not have a profile2 access? OR... Why would changing a role cause profile2 fields to disappear?
    – No Sssweat
    Feb 3, 2016 at 11:01
  • @NoSssweat Profile2 fields are associated with users, not with roles right?
    – p Ng
    Feb 4, 2016 at 3:03
  • their role gets changed to ApprovedArtist, and they retain their Profile2 fields that were associated with the old role? you make it sound here as if their profile2 were not retained when you change role.
    – No Sssweat
    Feb 4, 2016 at 3:46
  • yes my bad I need to reword that
    – p Ng
    Feb 4, 2016 at 4:36

1 Answer 1


If you are using Profile2 in combination with Profile2 Reg Path (which you probably do or in this case - might as well use it), then you'll find two sections when you are editing Profile2 (at admin/structure/profiles/manage/profile_name_here) :

  1. Roles - that's where you assign which roles will have the fields from Profile2;
  2. Assign Roles During Registration - that's where you set the roles to assign to a newly registered user if user creates a profile following the path you've set.

So, in your application you'd check "PendingArtist" and "ApprovedArtist" in "Roles" section, so that your fields show up for both of those roles. Then, in "Assign Roles During Registration" section you would check only "PendingArtist", so that only PendingArtist role gets assigned to a newly created user. In the end, when the role of PendingArtist is changed to ApprovedArtist - the data entered in profile2 fields remains as entered originally.


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