Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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 9th, 2004, 01:38 PM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default AD Group enumeration

I'm new to VB.Net. I can't seem to find any examples of vb.net code which enumerate the membership of an Active Directory group. I can find lots of references to enumerating the groups that a userid is a member of, but not the other way around. I'm looking for help. Any assistance would be appreciated.

 
Old June 15th, 2004, 02:18 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to acdsky
Default

Hi

Do you need to determine which group another group belongs to? If so you only need to query the memberOf property of the CN of the group. The Member property will contain memeber of the group...You could use ADO or ADSI to get this data or CSVDE to export to a csv file. Is this what you are looking for?

Regards
Marnus





Similar Threads
Thread Thread Starter Forum Replies Last Post
Add existing AD user to AD group via ADSI? thiazi Classic ASP Basics 0 August 24th, 2007 09:27 PM
Enumeration nguyendh BOOK: Ivor Horton's Beginning Visual C++ 2005 3 June 25th, 2006 01:22 AM
How to Use Enumeration in VB6 ramk_1978 VB How-To 1 December 6th, 2004 02:35 PM
Enumeration tbriers VB How-To 0 March 30th, 2004 04:04 AM
Active Directory group member enumeration mc439 Pro VB Databases 0 June 4th, 2003 12:30 PM





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