compare method

  1. @override
Future<LdapResult> compare(
  1. String dn,
  2. String attrName,
  3. String attrValue
)
override

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 {
  loggerConnection.fine('compare');
  return await _cmgr.process(CompareRequest(dn, attrName, attrValue));
}