all groups > sql server reporting services > november 2005 >
You're in the

sql server reporting services

group:

MS Reporting Services and Passing Credentials from .NET App


Re: MS Reporting Services and Passing Credentials from .NET App Dan Slaby
11/30/2005 3:17:51 PM
sql server reporting services:
I am trying to do the very same thing from a .Net windows application and if
get it will post my results.

Dan
[quoted text, click to view]

MS Reporting Services and Passing Credentials from .NET App Rich
11/30/2005 4:03:43 PM
Expert Needed,

Is it possible to pass credentials from a .NET application into MS reporting
services?

For example we want to filter our data for our reports based on the user's
login into the .NET app.

Thank you in advance.

Rich

Re: MS Reporting Services and Passing Credentials from .NET App Teo Lachev [MVP]
12/1/2005 8:25:48 AM
The recommended approach will be the use RS custom security if you need to
pass the user credentials. Alternatively, once the application
authenticates, it can use a single "trusted" Wi ndows account to connect and
authenticates against RS.

--
HTH,
----------------------------------------------
Teo Lachev, MVP, MCSD, MCT
"Microsoft Reporting Services in Action"
"Applied Microsoft Analysis Services 2005"
Home page and blog: http://www.prologika.com/

-------------------------------------------------
[quoted text, click to view]

Re: MS Reporting Services and Passing Credentials from .NET App Gabriel Vasquez
12/1/2005 11:25:42 AM
Is possible to pass credentials, you need to include in your .NET
application a reference to Web Services that is installed on Server that had
Reporting Services. Then, you can use all the method that this web services
expose, as
ReportingService rs = new ReportingService();

System.Net.NetworkCredential cr = new System.Net.NetworkCredential(UserName,
Password, Domain);

rs.Credentials = cr;

I hope that this help you.


[quoted text, click to view]

AddThis Social Bookmark Button