Solved

how to pass user name and password to crystal reports

Posted on 2008-10-06
9
332 Views
Last Modified: 2012-05-05
can I bypass the crystal enterprise login screen by passing the username and password through the url
0
Comment
Question by:Zeekman
  • 5
  • 4
9 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 22654456
This is an example

<a href="TRUSTFUND_test.rpt?prompt0=5&prompt1=8&user0=userid&password0=pswd">TRUST FUND</a>


mlmcc
0
 

Author Comment

by:Zeekman
ID: 22662383
I just tried adding in what you suggested into the URL and it didnt work. I noticed in your example you are linking to an rpt file. This is the ending part of the url to what I am linking to.  As you can see it is a .csp     Is there any way to pass the username and password in this example?

viewerlogonform.csp?id=20309&SF=%7BClinicianRecord%2EClinPayID%7D%3D38308&init=actx%3Aconnect
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 22662927
There should be.  I don't use that method so I am not sure what it would be.

CSP is just Crystal ASP

mlmcc
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:Zeekman
ID: 22668851
Let me re-iterate that I want to pass the Enterprise Login credentials, not the database UID and password.  
0
 

Author Comment

by:Zeekman
ID: 22711521
Can the crystal enterprise login credentials be passed so login in crystal is not required?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 22711693
You should be able to.  Since I haen't used CE I don't know how.

mlmcc
0
 

Author Comment

by:Zeekman
ID: 22711720
Good, but does anyone else know how?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 300 total points
ID: 22712242
Here are some articles that may help.

One way to do it would be to use Windows Authentication so they use their Windows logon
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00090dfa-753f-2b10-1a82-edcd6f7d68f4

mlmcc
0
 

Author Closing Comment

by:Zeekman
ID: 31503568
Not what I was looking for, so I clear this question. Thanks
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question