Click or drag to resize
Galactic API

LDAPDeleteAttribute Method

Deletes an attribute's value in the specified entry in the directory.

Namespace:  Galactic.LDAP
Assembly:  Galactic.LDAP (in Galactic.LDAP.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public bool DeleteAttribute(
	string dn,
	string attributeName,
	Object[] values = null
)

Parameters

dn
Type: SystemString
The distinguished name of the entry to delete an attribute from.
attributeName
Type: SystemString
The name of the attribute to delete.
values (Optional)
Type: SystemObject
Optional: The specific values to delete (if desired). Supplying null will delete all values associated with the attribute.

Return Value

Type: Boolean
True if deleted, false otherwise.
See Also