Tag Archives: DirectorySearcher

C# DirectorySearcher search result more than 1000

When searching Active directory, DirectorySearcher will be used to retrieve information from Active Directory. Below is the code that gets the username information.  

  However, by default, only 1000 can be viewed. To do this, you can use the property PageSize in DirectorySearcher. It can be used as follows.  

  It

Read More