{"id":11456285,"date":"2019-04-23T02:48:07","date_gmt":"2019-04-23T02:48:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-change-a-users-role\/"},"modified":"2019-04-23T02:48:07","modified_gmt":"2019-04-23T02:48:07","slug":"how-to-change-a-users-role","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-change-a-users-role\/","title":{"rendered":"How to change a user&#8217;s role"},"content":{"rendered":"<p>How can I change the role a user currently has without having to do it in the admin dashboard?  <\/p>\n<p>I have 2 different roles, each with their own profile form. On occasion a user will want to change roles so I need a way to change it on the front end forms as opposed to in the admin dashboard. I tried adding the Roles dropdown and roles radio fields to the profile form (only visible to the admin role) but it doesn&#8217;t change the actual role field.  What am I doing wrong?<\/p>\n","protected":false},"template":"","class_list":["post-11456285","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11456285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11456285\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11456285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}