Suppose you have connected to Active Directory using the simple syntax:
string adPath = \"LDAP://server.domain.com/CN=John,CN=Users,dc=domain,dc=com\"; Direc
It turns out to be pretty simple, albeit not very commonly used...
string adPath = "LDAP://server.domain.com/CN=John,CN=Users,dc=domain,dc=com"; DirectoryEntry userEntry = Settings.GetADEntry(adPath); userentry.Properties["mail"].Clear(); userentry.CommitChanges();