Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 4th, 2003, 12:30 PM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to mc439
Default Active Directory group member enumeration

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?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Add user to group - Active Directory anurag_ur ASP.NET 1.0 and 1.1 Professional 0 January 16th, 2006 09:25 AM
Add User to group - Active Directory anurag_ur .NET Framework 1.x 0 January 16th, 2006 09:15 AM
Add User to group - Active Directory anurag_ur C# 0 January 16th, 2006 09:13 AM
Add User to group - Active Directory anurag_ur ASP.NET 1.0 and 1.1 Basics 0 January 16th, 2006 09:13 AM
web application, get group name - active directory sara_1981 VB.NET 0 April 24th, 2004 01:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.