If you want to perform single sign-on in Report Manager, the way to do this is to implement the custom security extension provided by Microsoft. This is a standard solution. Here you can get implementation details of http://www.codeproject.com/Articles/675943/SSRS-2012-Forms-Authentication
In addition, as you already mentioned, if you do not want to include complexity and simplicity, just log in, having received the DOM of the check and access page. However, the script only works if you are confident in the name of the tags on the web page.
Check out the sample below.
public MainWindow() { InitializeComponent() WinFormWebBrowser.Navigate(Url); WinFormWebBrowser.DocumentCompleted += WinFormWebBrowser_DocumentCompleted; } void WinFormWebBrowser_DocumentCompleted(object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e) { try { HtmlElement ele = WinFormWebBrowser.Document.GetElementById("email"); if (ele != null) ele.InnerText = "username"; ele = WinFormWebBrowser.Document.GetElementById("pass"); if (ele != null) ele.InnerText = passWord; ele = WinFormWebBrowser.Document.GetElementById("loginbutton"); if (ele != null) ele.InvokeMember("click"); WinFormWebBrowser.DocumentCompleted -=WinFormWebBrowser_DocumentCompleted; } catch { } }
Darey source share