You need to page the result using "Page Size" property and specify how much
you want your query to return at a time. The MaxPageSize can be increased
also, but the more efficient option is to just use the paging method.
 
Here's a link that talks about this briefly -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/re
trieving_large_results_sets.asp

Sincerely, 
   _____                                
  (, /  |  /)               /)     /)   
    /---| (/_  ______   ___// _   //  _ 
 ) /    |_/(__(_) // (_(_)(/_(_(_/(__(/_
(_/                             /)      
                               (/       
Microsoft MVP - Directory Services
www.readymaids.com <http://www.readymaids.com>  - we know IT
www.akomolafe.com <http://www.akomolafe.com> 
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
 

________________________________

From: [EMAIL PROTECTED] on behalf of
[EMAIL PROTECTED]
Sent: Mon 4/3/2006 10:17 PM
To: [email protected]
Subject: [ActiveDir] Is there a work around to get all groups (number of
groups is mo re than MaxPageSize)?


Hi,
In my application I need to fetch all groups using a ldap_search function.The
number of
groups meeting the criteria is more than the currently set value of
MaxPageSize.
Though I am quite convinced that I cannot get more than MaxPageSize groups
using ldap_search.
But still i am trying to find a work around.
My question: Is there a work around to get all groups (number of  groups is
more than MaxPageSize)?
thanks in advance.
Arvind
 
 


 
<http://331058.sigclick.mailinfo.com/sigclick/02050101/050F4E02/014A027160107
2.jpg>  
The information contained in this electronic mail transmission may be
privileged and confidential, and therefore, protected from disclosure. If you
have received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer without copying
or disclosing it.

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to