Active Directory - Search filter optimization
Posted on 2010-08-17
I'm building an ASP.NET webpage that pulls the users info via Active Directory. Right now it's working, but slower than I'd like. So I'm trying to optimize my search filter in hopes of speeding up the search. Right now my search filters is setup like so:
Mysearcher.Filter = "(&(objectCategory=person)(objectClass=user)(samAccountName=" & strNetworkID & "))"
Can anyone help me to tweak this for faster performance?