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

Discussion in 'ASP .Net Web Controls' started by Ken Varn, Jul 12, 2004.

  1. Ken Varn

    Ken Varn Guest

    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
    -----------------------------------
    Ken Varn, Jul 12, 2004
    #1
    1. Advertising

  2. Ken Varn

    R.Balaji Guest

    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%...
    > 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
    > -----------------------------------
    >
    >
    R.Balaji, Jul 14, 2004
    #2
    1. Advertising

  3. Ken Varn

    Ken Varn Guest

    Tried that. No luck.

    --
    -----------------------------------
    Ken Varn
    Senior Software Engineer
    Diebold Inc.

    EmailID = varnk
    Domain = Diebold.com
    -----------------------------------
    "R.Balaji" <> wrote in message
    news:%...
    > 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%...
    > > 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
    > > -----------------------------------
    > >
    > >

    >
    >
    Ken Varn, Jul 14, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ric Pullen
    Replies:
    2
    Views:
    349
    Ric Pullen
    Jul 30, 2003
  2. Dustin Aleksiuk

    Can I get all the sessions currently active?

    Dustin Aleksiuk, Nov 10, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    585
    John Christensen
    Nov 11, 2003
  3. Paul W

    Sessions re-set to logon page

    Paul W, May 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    331
    Paul W
    May 4, 2005
  4. Kjell Kristiansson
    Replies:
    0
    Views:
    279
    Kjell Kristiansson
    Nov 30, 2005
  5. Peter
    Replies:
    2
    Views:
    84
    Grant Wagner
    Jun 2, 2004
Loading...

Share This Page