| LDAPAddOrReplaceAttribute Method |
Adds or Replaces 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 AddOrReplaceAttribute(
string dn,
string attributeName,
Object[] values
)
Public Function AddOrReplaceAttribute (
dn As String,
attributeName As String,
values As Object()
) As Boolean
public:
bool AddOrReplaceAttribute(
String^ dn,
String^ attributeName,
array<Object^>^ values
)
member AddOrReplaceAttribute :
dn : string *
attributeName : string *
values : Object[] -> bool
Parameters
- dn
- Type: SystemString
The distinguished name of the entry to add or replace an attribute of. - attributeName
- Type: SystemString
The name of the attribute to add or replace a value for. - values
- Type: SystemObject
The values associated with the attribute to add or replace.
Return Value
Type:
BooleanTrue if added or replaced, false otherwise.
See Also