add method
Performs an LDAP add operation.
dn
is the LDAP Distinguised Name.
attrs
is a map of attributes keyed by the attribute name. The
attribute values can be simple Strings, lists of strings,
or alternatively can be of type Attribute
Some possible exceptions
LdapResultEntryAlreadyExistsException thrown when the entry to add already exists.
Implementation
@override
Future<LdapResult> add(String dn, Map<String, dynamic> attrs) {
return _ldapFunction((LdapConnection c) {
return c.add(dn, attrs);
});
}