Windows Authentication with SSRS ASP.NET ReportViewer and Web Service

后端 未结 2 711
渐次进展
渐次进展 2021-02-10 03:08

I\'m having a few problems using SSRS currently. I have an ASP.NET website that uses Windows Authentication. That works fine and I know the website current user is the currently

2条回答
  •  生来不讨喜
    2021-02-10 03:22

    Instead of

    return (WindowsIdentity)HttpContext.Current.User.Identity;
    

    You could try

    return WindowsIdentity.GetCurrent();
    

提交回复
热议问题