Author: jlk1234 | Posted on: 7/11/2008 2:14:10 PM | Views : 451

Hi,

I am trying to use System.DirectoryServices to authenticate a user when they try to log in to my asp.net app.  I'm wondering how do I make sure they are in the AD group that was created for my app?

 I have the following code to execute to see if the user is valid, but I don't know how at this point to see if they are a member of this group:  Any ideas would be much appreciated - thanks!!
private void buttonAuthenticate_Click(object sender, EventArgs e)
{

String username = "MyDomain\\"  + ...

Go to the complete details ...