Hello,
I'm having issues with a
VB.NET app that I'm writting that connects to an Active Directory group from outside the domain and enumerates it's members. This group happends to contain over 1000 users.
I am capable of binding to the group from outside of the domain by passing credentials and binding to the object directly. Normally I would then be able to list off the members of the group object in a simple "for each" loop. However, because there are more then 1000 users in the group I cannot, as this is greater then the default view returned by Win2K Active Directory.
I can get around this by instead of binding to the group I make an ADO connection to Active Directory. I can then query the first 1000 users, output the record set, then re-query the next 1000 users, etc until the end premature end of record set. The problem with this approach is that I cannot authenticate (or don't know how to) from outside of the domain when connecting with the ADO connection.
Is there a way to either specify a larger view when binding to the object directly or create an ADO connection to Active Directory with provided credentials? If so, how?