on 11-21-2014 5:11 PM
Hi everyone,
I have a connection string in VBA that can successfully connect to HANA table:
StrSql = "driver=HDBODBC32;servernode=10.###.###.30:30015;DATABASE=Z_PTP_HANA_SCH;uid=xxxxx;pwd=xxxxx;"
However, I do not want to hardcode my credentials.
When the user refresh the workbook, they enter their windows authentication which logs them into HANA too through single sign on.
Is there a way to utilize that single sign on functionality into my connection string?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, you would hardcode the name of the hdbuserstore entry.
The NetWeaver application server processes (workprocesses) do this, for example.
They retrieve the connection and logon information from the entry key DEFAULT.
While your application simply refers to the userstore key, you can change the actual values with every user that runs your application.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.