ad-test Simple test application for AD authentication in .NET Based on PrincipalContext using ValidateCredentials for authentication and PrincipalSearcher to fetch user details