How to get SharePoint Site authentication information to use it in an ASP.NET website which is integrated inside that SharePoint Site ? RRS feed

  • Question

  • User2057964749 posted

    Hello everybody. I have integrated my ASP.NET website into a SharePoint Site by using an IFrame in the SharePoint Page via a Content Editor Web Part. The ASP.NET web application doesn't have any authentication & authorization implemented in it.But the SharePoint site is having some authentication implemented. Now my requirement is how to use that SharePoint authentication information in my ASP.NET web application programmatically to do some code manipulations based on the authenticated user level.Any help would be appreciated.

                                                     Thanks in Advance

    Thursday, May 1, 2014 1:54 AM


  • User1324782620 posted

    You can use windows authentication in ASP.NET web application (i am assuming sharepoint is using windows authentication.). when request will go from sharepoint to ASP.NET site it will pass same authentication token used by sharepoint.in this way you can leverage existing sharepoint authentication in ASP.NET web site.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 1, 2014 11:22 AM