LDAP query returns only 1000 results

Discussion in 'Active Directory' started by Jeff, Oct 21, 2004.

  1. Jeff

    Jeff Guest

    When running an LDAP query against 2003 Active Directory, we are only
    receiving 1000 results. Is this a known limitation, or is there a way to
    change this result number?
     
    Jeff, Oct 21, 2004
    #1
    1. Advertisements

  2. Yes, with standard options ou will get only first 1000 of objects. To
    get more You have to turn on results paging - using ADODB connection You
    can do this with PageSize property of command:
    <code snippet>
    objCommand.Properties("Page Size") = 1000
    </code snippet>
     
    Tomasz Onyszko, Oct 21, 2004
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.