Hi, this is a method I always use to check if a user is part of the domain, it took me a long time to find everything out, because there is not much on internet you can find about it.
Just create a forms application and drop this code in (you also need to set the references (from Framework)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.