I'm creating a form for employees to fill out and submit work orders but only employees in a certain security group in AD are allowed to use the program. Can someone give me the basic overiview of how i would write code for checking the users current windows credentials (the credentials they are logged onto the computer with) and siabling the form if they are not in the given group?

Thanks in advance

When I first started programming, I had a huge task to tackle using AD.

I used this for a reference to get me started.

You can use the My.User.Name to retreive the user's login name.