on 08-11-2004 4:29 AM
I have an external exe that needs to connect via ADO to the currently running SAP application using the current user.
I used the SAPbobsCOM.Company object to extract the
CompanyDB , Server ,DbUserName and Password to create my ADO connection string. But obviously the password is encrypted and (when I debug.print gives me ****) is not useful.
Does anyone know how to get this password through the SDK?
Thanks,
Indika.
Hi,
I've already asked about it. No way. Simply forget.
You can ask for password for the first time and store it in the database or in the registry.
Regards,
Mark
Message was edited by: Mark Gulyansky
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can connect to a running SBO application via UI-API, call the dialog for changing the company (simulate click-events on [Administration - Choose company] and read out the password field (and other important fields to establish a database connection). That's a way in SDK 6.2 to connect via UI and DI without requesting the user for repeated input of the login data, because single-sign is available first in SDK 6.5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.