This project is read-only.

Delete Attribute

Every object class within the directory has a set of required and optional attributes. The Delete Attribute and Add Attribute methods allow you to add or remove the optional attributes from any entry.

string dn = "CN=Test User,CN=Users,DC=example,DC=com";

context.DeleteAttribute(dn, "Preferred Name");

Last edited Jun 18, 2012 at 6:30 AM by MadHatter22, version 1