Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
friends i have to remove group in active directory. please guide me
i used
try
           {
               DirectoryEntry de = new DirectoryEntry("LDAP://address", "username", "password", AuthenticationTypes.Secure);
               DirectoryEntry dirEntry = de;
               dirEntry.Properties["user"].Remove(userDn);
               dirEntry.CommitChanges();
               dirEntry.Close();
           }
Posted
Comments
Pandya Anil 15-Nov-11 6:03am    
what is the problem, error you are facing ???

1 solution

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