Thursday, 4 May 2017

node.js searching for users from ActiveDirectory

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';

Kindly advise how I can write an AND query for searching with both givenName and sn?

I tried to write a AND condition for both givenName and sn using the following way and it doesnt work. The following is the query I am trying to execute,

var query = 'givenName="Nataraj Gandhi", sn="Arunachalam"';

Thank you very much!

Thanks and Regards, Nataraj



via Nataraj Gandhi arunachalam

No comments:

Post a Comment