| 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
)
Public Function DeleteAttribute (
dn As String,
attributeName As String,
Optional values As Object() = Nothing
) As Boolean
public:
bool DeleteAttribute(
String^ dn,
String^ attributeName,
array<Object^>^ values = nullptr
)
member DeleteAttribute :
dn : string *
attributeName : string *
?values : Object[]
(* Defaults:
let _values = defaultArg values null
*)
-> bool
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:
BooleanTrue if deleted, false otherwise.
See Also