| Invert |
Donald Gray
07/27/2010 09:52
Passing Credentials to subreport
I have a Silverlight application that will be hosted on the web. As a result I don't want to store the report server URL or credentials in plain text in the web.config file.
Instead I override the LoadReport() method in my server side service. Inside this method I call the SetDataSourcesCredentials method to set the credentials for the report, using the same credentials that the user logged into the system using. I don't want to ask them to enter their credentials again.
This works fine but if there is a sub-report the credentials dialog slides down on the report viewer, how can I make the report use the same credentials for subreports?
|
Donald Gray
08/04/2010 04:07
Passing Credentials to subreport
Is this possible?
|
Irina Sabaeva
08/06/2010 05:29
Passing Credentials to subreport
Hello,
This is possible. Please look at the Credentials property of the ReportViewer. This is a collection of Credential objects. Credential contains Datasource name, username and password. Initialize the collection with credentials used for all datasources in your application and viewer will not prompt for credentials.
Best regards,
Irina Sabaeva
Perpetuum Software Support Team
|
Donald Gray
08/06/2010 05:32
Passing Credentials to subreport
I'd like to be able to supply the credentials in the service, is this possible?
I store the users credentials on the server side rather than client side and as it stands just now have no access to the users credentials from the client side so I could not set them through the ReportViewer.
|
Donald Gray
08/11/2010 04:14
Passing Credentials to subreport
Is it possible to provide multiple credentials through the server side service?
|
Vitaliy Korney
08/17/2010 05:54
Passing Credentials to subreport
Hello,
It is not possible to use multiple credentials. DataSourceCredentials can be set up only for ReportViewer at the client side. We didn't find any workaround way to do what you want.
Best Regards,
Vitaliy Korney
Perpetuum Software Team
|