Sitefinity 6.x Impersonation

Posted by Community Admin on 04-Aug-2018 18:41

Sitefinity 6.x Impersonation

All Replies

Posted by Community Admin on 15-May-2013 00:00

Is there a way either through UI, or api calls to impersonate a user in sitefinity 6?

Posted by Community Admin on 16-May-2013 00:00

Nope :/

We need this too...ability to see what a specific user sees without logging them in.

Posted by Community Admin on 18-May-2013 00:00

Hello Peter,

There is no inbuilt impersonation functionality in Sitefinity, but this can be achieved trough programmatically authentication as certain user with the Security API. The easiest way to archive this is to use the following method:

UserLoggingReason AuthenticateUser(string membershipProviderName, string userName, bool persistent, out User user)

This method contains a few overloads and you can pick one depending on your scenario.
This can be used in a custom control on a page where the admin user will log into user accounts and access Sitefinity authenticated as them.

All the best,
Kaloyan
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed