Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > How do I get credentials of other active logon sessions for Web Service?

Reply
Thread Tools

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

 
 
Ken Varn
Guest
Posts: n/a
 
      07-12-2004
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
-----------------------------------


 
Reply With Quote
 
 
 
 
R.Balaji
Guest
Posts: n/a
 
      07-14-2004
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
> -----------------------------------
>
>



 
Reply With Quote
 
 
 
 
Ken Varn
Guest
Posts: n/a
 
      07-14-2004
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
> > -----------------------------------
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
"The credentials supplied conflict with an existing set of credentials" -=rjh=- NZ Computing 2 07-15-2006 11:09 PM
Question Help: Logon vs Account Logon, Local Logon vs Authentication CJH Microsoft Certification 0 01-04-2006 04:03 PM
set logon credentials for the page your posting to.... Peter Javascript 2 06-02-2004 09:29 PM
Can I get all the sessions currently active? Dustin Aleksiuk ASP .Net 3 11-11-2003 03:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57