Click or drag to resize
Galactic API

ActiveDirectoryDeleteAttribute Method

Deletes an attribute's values from the specified entry in Active Directory.

Namespace:  Galactic.ActiveDirectory
Assembly:  Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public bool DeleteAttribute(
	string name,
	SearchResultEntry entry,
	Object[] values = null
)

Parameters

name
Type: SystemString
The name of the attribute that should have its value deleted.
entry
Type: System.DirectoryServices.ProtocolsSearchResultEntry
The SearchResultEntry containing the attribute to delete.
values (Optional)
Type: SystemObject
Optional: The specific values to delete. If null, all values will be deleted. Defaults to null.

Return Value

Type: Boolean
True if the attribute's values are deleted, false otherwise.
See Also