Setup login widget that redirects to different pages depending on who logs in
I am trying to create a login page for users that redirects them to different pages depending on who logs in. I can see a way through the login widget that everyone will be redirected to just one page "DestinationPageURL", but nothing that let's you choose a different page for different logins.
Thanks!
Hello Devon,
In order to achieve your needs you can subscribe for "ILoginCompletedEvent" and depending on the criteria you have to redirect to the respective page you need.
More information could be found here: http://docs.sitefinity.com/for-developers-ilogincompletedevent
This article could be also useful in case the user redirect is based on its role:
http://docs.sitefinity.com/for-developers-users-and-roles#get-all-roles-for-user
I hope the above information helps
Regards,
Svetoslav Manchev
Telerik
Thanks Svetoslav!