compare method
Performs an LDAP compare operation.
On the LDAP entry identifyed by the distinguished name dn
,
compare the attrName
and attrValue
to see if they are the same.
The completed LdapResult
will have a value of ResultCode.COMPARE_TRUE
or ResultCode.COMPARE_FALSE.
Implementation
@override
Future<LdapResult> compare(
String dn, String attrName, String attrValue) async {
return _ldapFunction((LdapConnection c) {
return c.compare(dn, attrName, attrValue);
});
}