P
Peter Lapic
I am running an VB.Net app which calls an ASP.Net Web Service and this
service accesses SQL Server.
The Web Service & SQL Server run on separate Windows 2000 server on the same
domain.
As we don't use Kerberos, the only means to flow the original user
credentials from the VB.Net app right thru to SQL Server is to set the web
service object credentials parameter in the VB.Net app.
The credentials is created based on the following code
oCredentials.Add(New Uri(oRollOrderAutomation.Url), "Basic", New
System.Net.NetworkCredential(InputBox("Enter Windows Login Name: ",
"Username", "my login"), InputBox("Enter Windows Password: ", "Password",
"my password"), "my domain"))
Without prompting the user to rekey their windows username & password is
there some way to pass the current windows network connection to the
credentials object?
Regards
Peter
service accesses SQL Server.
The Web Service & SQL Server run on separate Windows 2000 server on the same
domain.
As we don't use Kerberos, the only means to flow the original user
credentials from the VB.Net app right thru to SQL Server is to set the web
service object credentials parameter in the VB.Net app.
The credentials is created based on the following code
oCredentials.Add(New Uri(oRollOrderAutomation.Url), "Basic", New
System.Net.NetworkCredential(InputBox("Enter Windows Login Name: ",
"Username", "my login"), InputBox("Enter Windows Password: ", "Password",
"my password"), "my domain"))
Without prompting the user to rekey their windows username & password is
there some way to pass the current windows network connection to the
credentials object?
Regards
Peter