Torna al Thread

class credenziali : Microsoft.Reporting.WebForms.IReportServerCredentials { public bool GetFormsCredentials(out System.Net.Cookie authCookie, out string userName, out string password, out string authority) { userName = HttpContext.Current.User.Identity.Name; authCookie = FormsAuthentication.GetAuthCookie(); } public System.Net.ICredentials NetworkCredentials { get { return new System.Net.NetworkCredential("teo", "teo"); } } etc...
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5