Click to See Complete Forum and Search --> : ODBC: retrieving UID and PW from DSN


cgalshir
March 26th, 2003, 09:06 AM
:mad:
Hi there: how on earth can i retrieve the UID and password for a user as declared in a ODBC DSN. I can get the ODBC admin dlg by calling SQLDriverConnect, and then get the exact name of the DSN by calling SQLGetInfo with SQL_DATA_SOURCE_NAME set, but i can't figure it out how i can get the user ID and PW. I am supposed to send DSN, UID and PW to some other appl.