I am working with Active Directory for the first time using ASP.NET / C#. I am using the following code to authenticate a user with given username/password on the login form. I need to know how can I search the user in a specific group like CN=MM_CMS_Users?
DirectoryEntry entry = new DirectoryEntry(adHost, UsernameTextBox.Text.Trim(), PasswordTextBox.Text.Trim());
object nativeObject = entry.NativeObject;
loginSuccess = true;
Thanks.