How can i aithenticate a user+password

  • Thread starter Thread starter Henrik
  • Start date Start date
H

Henrik

If i have a username and Password - How can i check if
they are valid in Windows from a C# program ????

Regards,Henrik
 
Use the class System.Security.Principal.WindowsIdentity

You can also use P/Invoke to call LogonUser in advapi32

Nick
 
Back
Top