I having a program built in VB.Net and would like to take in the users windows name and then compatre that with a security group in AD, if they are in a certain group then redirect them to the next page otherwise block them.
I have tried many ways using many different snippets of code from different forums, but cannot find acode piece of code that works.
I am quite new to programming and have no idea how to connect to the AD.
Any help along with actual snippets of code that work would eb a massive help.
Thanks in advance.
I have tried many ways using many different snippets of code from different forums, but cannot find acode piece of code that works.
I am quite new to programming and have no idea how to connect to the AD.
Any help along with actual snippets of code that work would eb a massive help.
Thanks in advance.