tags:

views:

136

answers:

3

Hi,

I need Current Logged on User and Password , I can get UserName by using WindowsIdentity but not sure how to get Password

+5  A: 

You can't get the password, that would be a major security issue. And it's not necessary for impersonation anyway.

dcp
+10  A: 

Being able to get the current, or any other, users password would be a major security hole. Raymond Chen has a nice article on this very question

JaredPar