I have an ASP.NET Membership Site with different roles (customer and admin).
Is it possible to login as a customer when i am logged in as an admin? How?
I have no access to the passwords, so i don't know if it is possible or how.
I have an ASP.NET Membership Site with different roles (customer and admin).
Is it possible to login as a customer when i am logged in as an admin? How?
I have no access to the passwords, so i don't know if it is possible or how.
Built-in ASP.NET Membership Provider has not such feature, I would call it "impersonation".
To implement it you need to inherit SqlMembershipProvider and extend it.
See also:
If we're talking about the roles admin and customer, you can assign both roles to the user.
If I have understood you correctly then this may be an option forms authentication user impersonation - I have implemented it in a production site and works pretty well.