[SOLVED] Â Add a group to Active Directory |
8/12/2014 4:06:00 PM |
ASPRunner.NET General questions | |
T
Tim author
In the "Before record added" event on one of the pages of my application, I would like to use c# code to add a group to Active Directory. Eventually I will use fields from the form to get the name of the group to be created, but I thought I would start by just using hard-coded info. I found this page at Microsoft: Creating Groups |
|
![]() |
Admin 8/15/2014 |
I guess you need to add a reference to System.DirectoryServices.dll (More info: http://stackoverflow.com/questions/17314040/directoryentry-is-not-getting-even-add-the-namespace-system-directoryservices). |