Using VBA to query for AD Groups

txgeekgirl

Registered User.
Local time
Yesterday, 22:22
Joined
Jul 31, 2008
Messages
187
I have found a lot of code to query Active Directory for users and groups they belong to but I just need to query for two certain types of groups and don't care about the users:

email.
Users.PRT_

I am hoping to use the queries to populate two multi-select list boxes for an online Network Request Form. Currently we have a Word doc that upon SEND gets routed through a list of people. It's inefficient.

Any help is appreciated.
 
I've used Technet which has a repository of script that you can adapt to VBA.

Repository

Listing all groups

See if scripts in there will get you closer to the solution you're looking for.
 
Thanks! I do believe we are going to modify this DB to actually automate the population of AD and add the users to the necessary groups. That site is very informational.
 

Users who are viewing this thread

Back
Top Bottom