Thank you @Sai

On Friday, 6 October 2017 10:46:55 UTC-4, sai krishnan wrote:
>
> (|(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/bc3e18d2-22aa-4ca6-8292-d7ef3097be21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to