try { DirectoryEntry de = new DirectoryEntry("LDAP://address", "username", "password", AuthenticationTypes.Secure); DirectoryEntry dirEntry = de; dirEntry.Properties["user"].Remove(userDn); dirEntry.CommitChanges(); dirEntry.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)