Answers.Body: <p>You can call it from the front-end, but it requires the currently logged in user to be an administrator.</p>
  
  <p>Just point the form's hidden action input to <code>users/impersonate</code> and have it submit a 'userId' input of the person you want to log in as.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-12T14:56:51.917Z
Answers.Text: Hi Brad, But do you have to be admin? Is there a way to use this feature for non-root admins? I want them to login as another user, but when I give them all user altering rights, the dropdown with the cog doesn't show me the option to take over another account. Thanks in advance.
Answers.UserDisplayName: Martijn La Feber
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-12T22:39:55.783Z
Answers.Text: You have to be an admin to impersonate another user.
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-24T21:16:44.730Z
Answers.LastActivityDate: 2014-10-24T21:16:44.730Z
Answers.UserDisplayName: Brad Bell
Body: <p>In the CP there is a button which allows you to log in as a specific user. Can this be called from the Frontend/plugin or is it strictly a CP function?</p>
  
Tags: <login><frontend>
Title: Login As User from Frontend
ThreadText: # Login As User from Frontend
  
  (Asked by: username_0 on 2014-10-24)
  
  In the CP there is a button which allows you to log in as a specific user. Can this be called from the Frontend/plugin or is it strictly a CP function?
  
  **Tags:** login, frontend
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-10-24. Score: 5 | Accepted answer
  
  You can call it from the front-end, but it requires the currently logged in user to be an administrator.
  
  Just point the form's hidden action input to `users/impersonate` and have it submit a 'userId' input of the person you want to log in as.
  
  > **Comments:**
  > **username_2**: Hi username_1, But do you have to be admin? Is there a way to use this feature for non-root admins? I want them to login as another user, but when I give them all user altering rights, the dropdown with the cog doesn't show me the option to take over another account. Thanks in advance.  
  > **username_1**: You have to be an admin to impersonate another user.  
  
  ---
  
  