(|(sn=*'+searchString+'*)(cn=*'+searchString+'*)) On Friday, May 5, 2017 at 7:23:23 AM UTC+5:30, Nataraj Gandhi arunachalam wrote: > > Dear Team, > > I am trying to use activedirectory nodemodule to search for users from the > Active Directory using the method, findUsers. > > If i search for users using the method, findUsers, the following two > queries work, > > //var query = 'givenName=Nataraj Gandhi'; > var query = 'sn=Arunachalam'; > > However if I try to write a AND condition for both givenName and sn, it > doesnt work. The following is the query I am trying to execute, > > var query = 'givenName="Nataraj Gandhi", sn="Arunachalam"'; > > Kindly advise how I can write an AND query for searching with both > givenName and sn. > > > Thank you very much! > > Thanks and Regards, > Nataraj > > > >
-- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/490bd524-6dca-4b11-93ec-d880a16a4c6a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
