on 2005 Aug 01 6:40 AM
Hi,
I'am trying to open a crystal report from B1.I need to pass the User Id and Password of the SQL Server.How do i retrieve these without Hardcoding them .Currently we do not want the user to enter the Login details.. from an UI..
Is this information stored in the SBO Tables anywhere.
Regards
Vishal
thanx for ur answers.Does that mean I wont be able to access the Sql server UserId and password form SBO.
So I have to prompt the user to enter the UID and Pwd explicitly..???
Regards Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Unfortunately that is exactly what it means (:
You can however still access the server name and database name. I use these to correctly set the server and database for each of the tables.
I created a simple form that asks for the username and password and stores it in a user table (encrypted of course).
Then when I open a report I check if the username/password is stored if not I prompt for it then continue printing the report.
Regards
Darryn
thanx for ur answers.Does that mean I wont be able to access the Sql server UserId and password form SBO.
So I have to prompt the user to enter the UID and Pwd explicitly..???
Regards Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
I believe is not possible to read the db password. You can access the database with the credentials of SBO, but, if you want to pass the DB password to any other application, that is not possible.
Regards
Sir Harold
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim!
I suppose there is the only way to get SQLServer login/password - you have to use <b>SSO</b> and then read <b>DI</b>-Company properties like <b>CompanyDB</b>, <b>DbPassword</b> and <b>DbUserName</b>.
Hope it's clear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
>> you have to use SSO and then read DI-Company
>> properties like CompanyDB, DbPassword and DbUserName.
i've tested that i told u. i can access and read all properties (CompanyDB, DbPassword and DbUserName), but DbPassword-value is '***********'.
i suppose it was designed specially for IT-security.
User | Count |
---|---|
112 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.