delete method

  1. @override
Future<LdapResult> delete(
  1. String dn
)
override

Performs an LDAP delete operation.

Delete the LDAP entry identified by the distinguished name in dn.

Some possible exceptions

LdapResultNoSuchObjectException thrown when the entry to delete did not exist.

Implementation

@override
Future<LdapResult> delete(String dn) {
  return _ldapFunction((LdapConnection c) {
    return c.delete(dn);
  });
}