Click here to Skip to main content
15,886,801 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am looking for a way to use Active Directory for security in a VB.NET Windows form based application, not web based. The program access level will NOT be based on the current user logged into the computer. Instead the user would be prompted for their network user name and password from within the program, the Active Directory would be used to determine the features the user would have access to within the program. For critical data entry a login popup would require a supervisor to enter their network user name and password for the change to be made.
Posted

1 solution

Have a look at the System.DirectoryServices.ActiveDirectory namespace, I just used it for a small project some time ago.

You can see here that there are pretty many methods to work with.

Greets.
 
Share this answer
 
Comments
Louie Lunch 21-Jun-12 12:41pm    
Thank you for link. It listed the following book which had good reviews on Amazon.
The.NET Developer's Guide to Directory Services Programming by Joe Kaplan and Ryan Dunn
NeonMika 22-Jun-12 2:02am    
Glad i could help :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900