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

From: R.Balaji (rbalaji007_at_hotmail.com)
Date: 07/14/04


Date: Wed, 14 Jul 2004 17:55:49 +0530

Hi,
> How can
> I get the credentials that IE uses and assign it to my Credentials
attribute
> of my Web Service Proxy object?

Have you tried System.Net.WebProxy.GetDefaultProxy() method?
This method reads the Internet Explorer nondynamic proxy settings.

Regards,
R.Balaji

"Ken Varn" <nospam> wrote in message
news:OK7sc%23DaEHA.2816@TK2MSFTNGP11.phx.gbl...
> 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. >
> --
> -----------------------------------
> Ken Varn
> Senior Software Engineer
> Diebold Inc.
>
> EmailID = varnk
> Domain = Diebold.com
> -----------------------------------
>
>



Relevant Pages

  • Re: How do I get credentials of other active logon sessions for Web Service?
    ... > I get the credentials that IE uses and assign it to my Credentials ... > of my Web Service Proxy object? ... I get the logged on user credentials ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Security Challenge: Runtime impersonation without calling Logo
    ... >> using the credentials of the authenticated user. ... >> user's credentials to the web service proxy. ... >> Do you know how I can pass the credentials of the authenticated user to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Security Challenge: Runtime impersonation without calling Logo
    ... If you are using IWA in IIS, you will need Kerberos delegation to get this ... > user's credentials to the web service proxy. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: web service bug
    ... Try adding credentials to the ... web service proxy before the call: ... Sami ... >> Try invoking the web service methods through the browser. ...
    (microsoft.public.dotnet.framework.aspnet.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)