I'm writing a small app that requres users to log on. Seeing as it is in a networked environment I thought the best way would be to utilise Active directory. What I would like is for a user to open up the software, enter their LAN username and password. Then the app to conect to the domain controller and authenticate the users credentials.
I can get a list of the users from AD but I can't work out how to get confirmation of the correct password. I don't want to retrieve the password just know if the one I supplied is correct!