How to use the ldapjs.EqualityInFilter function in ldapjs

To help you get started, we’ve selected a few ldapjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github PhilWaldmann / openrecord / lib / stores / ldap / data_types / _operators.js View on Github external
array: function(attr, values, options) {
            options.filter.filters.push(
              new ldap.EqualityInFilter({ attribute: attr, values: values })
            )
          },
          binary: function(attr, value, options) {
github PhilWaldmann / openrecord / lib / stores / ldap / data_types / _operators.js View on Github external
array: function(attr, values, options) {
            options.filter.filters.push(
              new ldap.NotFilter({
                filter: new ldap.EqualityInFilter({
                  attribute: attr,
                  values: values
                })
              })
            )
          }
        }