1

I have user logged in (admin) and would like him to be able to switch to any other user (to do their tasks on their behalf). Ideally keep track of original identity, so that admin can switch back to being admin without need to log out and log in.

2

1 Answer 1

0

This helped me to solve the problem: https://www.codeproject.com/Articles/43724/ASP-NET-Forms-authentication-user-impersonation

It was referenced in How do I use ASP.NET Identity 2.0 to allow a user to impersonate another user? and I simply used source code of dll in my solution to get desired effect

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.