How do I get network credentials from IE to a embedded WinForm control?

From: Ken Varn (nospam)
Date: 07/09/04


Date: Fri, 9 Jul 2004 10:39:22 -0400

I have a .NET Windows Form control that I am embedding into an HTML page.
My control is calling a web service that requires network credentials. The
problem is that I need the credentials of the user that IE is authenticated
with. When I try to pass DefaultCredentials to the web service proxy, the
logged on user credentials are passed. I actually need the user that IE is
authenticated with. Can someone tell me how I can pass the IE
authentication credential down to the web service from my windows forms
control?

-- 
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------


Relevant Pages

  • Re: Embedded UserControl accessing ws-security web service
    ... >>When they open a page with my embedded user control the control needs to ... >>call the web service and pass their credentials. ... >>I need to be able to get the user's credentials into the UserControl ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • How do I get credentials of other active logon sessions for Web Service?
    ... I am trying to call my Web Service from my embedded Windows Forms control ... I get the credentials that IE uses and assign it to my Credentials attribute ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • How do I get credentials of other active logon sessions for Web Service?
    ... I am trying to call my Web Service from my embedded Windows Forms control ... I get the credentials that IE uses and assign it to my Credentials attribute ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Windows authentication for web service client??
    ... If you are posting to WEBDAV it is my understanding that you cannot use Integrated authentication since you HAVE to pass it the username and the password in the network credentials. ... I must put together a sample example, but for some reason the users credentials are lost when making the WebDAV request. ... web service is running ASPNET account. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Calling Web Service that calls other Web Service with Windows Authentication
    ... You are passing credentials (by ... services - then you do not need to pass token remotely and windows can ... Given a windows application client that's calling a web service (using ...
    (microsoft.public.dotnet.framework.aspnet.webservices)

Loading