Using DLL or COM to get DB login/password

S

suraj

Hey Everyone,

hope someone could help me with this.

When creating a form from a Data Connection (SQL Server) you specify the db
connectivity login/password by the InfoPath wizards specifying either windows
integrated authentication or a particular user name and password.

My question is this (2 parts):
Is there a way to gain the values of the user name and login by calling a
straight Windows function call to a DLL or COM object? If so, how would this
be done.

And once these values are obtained, how can they be applied for the db
connectivity login/password?

Any help you can provide would be greatly appreciated.
suraj
 
Top