Try Now
More in this section

Forums / Bugs & Issues / ByPass login page

ByPass login page

2 posts, 0 answered
  1. Pik Lee
    Pik Lee avatar
    142 posts
    13 Aug 2012
    15 Aug 2011
    Link to this post
    My sitefinity site has a login page. I have another web site that I like user to be able to click on the link and go to sitefinity site without the login page. The username and password for both sites are the same. How do I bypass sitefinity login page after the user login from another web site?

  2. Veronica
    Veronica avatar
    125 posts
    30 Jan 2015
    17 Aug 2011
    Link to this post
    Hello Pik Lee,

    You can perform a manually login by using the UserManager's method AuthenticateUser(). Here's a sample code:
    SecurityManager.AuthenticateUser("", "new user name", "password", true);

    Hope this helps.

    Kind regards,
    Veronica Milcheva
    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
2 posts, 0 answered