Access user credentials with impersonate=admin acct?

B

Burt

I've got an intranet app using integrated authentication that
impersonates a admin account in the web.config. However in one part of
the app I need the user's credentials to access a web service (it's
pulling back a MS Reporting Services report, and only certain users can
view certain reports).

If I pass in CredentialCache.DefaultCredentials, I get the impersonated
account. I could System.Net.NetworkCredential("user", "password",
"domain"), but how would I get the user's password?

Can anyone tell me what I'm missing?

Many thanks,

Burt
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top