Last post Nov 02, 2011 05:04 PM by anilkumar
Nov 01, 2011 09:30 PM|anilkumar|LINK
How to get users based on query using custom properties?
Example - Department, Location
I like to get all users in Department sales and accounting and location NJ and WA.
If I use LDAP query (objectclass=user)(|(Department='Sales')(Department='Accounting'))(|(l='NJ')(l='WA'))
How do I use PrincipalSearcher and QueryFilter?
Nov 02, 2011 07:36 AM|Srikanth Kasturi|LINK
Please refer to this
Nov 02, 2011 05:04 PM|anilkumar|LINK
I was trying to use System.DirectoryServices.AccountManagement namespace.
PrincipalSearcher class has QueryFilter.