How do I get credentials of other active logon sessions for Web Service?

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

  • Next message: Elias: "400: Bad Request On Web Service Call"
    Date: Mon, 12 Jul 2004 14:38:25 -0400
    
    

    I am trying to call my Web Service from my embedded Windows Forms control
    that is embedded in an HTML page using No Touch Deployment. When I try to
    call my Web Service from my Windows Forms control using
    CredentialCache.DefaultCredentials, I get the logged on user credentials
    even if the user authenticates using a different logon through IE. How can
    I get the credentials that IE uses and assign it to my Credentials attribute
    of my Web Service Proxy object?

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

  • Next message: Elias: "400: Bad Request On Web Service Call"

    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 network credentials from IE to a embedded WinForm control?
      ... 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. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • 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)