ActiveDirectoryMembershipProvider to validate a user
问题 I would like to use the ValidateUser method of the ActiveDirectoryMembershipProvider to validate that a user exists in AD. I am taking in the username and password in a form. I would like to then instantiate the provider and call ValidateUser <add name="AspNetActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider" connectionStringName="ADConnection" attributeMapUsername = "userPrincipalName" /> I just replace real values with test for the post.. <add