| LDAPAdd Method |
Adds an entry to the LDAP directory with the specified distinguished name and attributes.
Namespace:
Galactic.LDAP
Assembly:
Galactic.LDAP (in Galactic.LDAP.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool Add(
string dn,
DirectoryAttribute[] attributes
)
Public Function Add (
dn As String,
attributes As DirectoryAttribute()
) As Boolean
public:
bool Add(
String^ dn,
array<DirectoryAttribute^>^ attributes
)
member Add :
dn : string *
attributes : DirectoryAttribute[] -> bool
Parameters
- dn
- Type: SystemString
The distinguished name of the entry to add. - attributes
- Type: System.DirectoryServices.ProtocolsDirectoryAttribute
The attributes for the entry to add.
Return Value
Type:
BooleanTrue if added, false otherwise.
See Also