I am looking for a way to log on to a server inside my program using windows authentication of the current user logged in. I thought that perhaps I could use
System.Security.Principal.WindowsIdentity.GetCurrent().Name
but while that does give a name, I do not see how I can find out the password of the user to enter it in.
Anyone knows how to do this?