Answers.Body: <p>You'd need to do this from a <a href="http://buildwithcraft.com/docs/plugins/introduction" rel="nofollow">plugin</a> that has a <a href="http://buildwithcraft.com/docs/plugins/controllers" rel="nofollow">controller</a> that calls <a href="http://buildwithcraft.com/classreference/services/UserGroupsService#assignUserToGroups-detail" rel="nofollow">UserGroupsService->assignUserToGroups()</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-05T17:57:09.063Z
Answers.LastActivityDate: 2015-06-05T17:57:09.063Z
Answers.UserDisplayName: Brad Bell
Body: <p>I've got a client project which utilizes the Users section of craft pretty heavily. I am trying to figure out if it is possible in vanilla craft to move a user from one group to another say, from the 'employee' group to the 'manager' group. I have seen some code to do it in a custom controller action in a few other posts on here, but I'd rather avoid creating a custom plugin for this if possible.</p>
  
  <p>So is this possible? Thanks!</p>
  
Tags: <users><user-groups>
Title: Change User Group Front-End
ThreadText: # Change User Group Front-End
  
  (Asked by: username_0 on 2015-06-05)
  
  I've got a client project which utilizes the Users section of craft pretty heavily. I am trying to figure out if it is possible in vanilla craft to move a user from one group to another say, from the 'employee' group to the 'manager' group. I have seen some code to do it in a custom controller action in a few other posts on here, but I'd rather avoid creating a custom plugin for this if possible.
  
  So is this possible? Thanks!
  
  **Tags:** users, user-groups
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-06-05. Score: 3 | Accepted answer
  
  You'd need to do this from a [plugin](http://buildwithcraft.com/docs/plugins/introduction) that has a [controller](http://buildwithcraft.com/docs/plugins/controllers) that calls [UserGroupsService->assignUserToGroups()](http://buildwithcraft.com/classreference/services/UserGroupsService#assignUserToGroups-detail).
  
  
  ---
  
  