Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query active directory to return list of group members

Status
Not open for further replies.

bmclean2

MIS
Jul 20, 2005
22
0
0
US
I have a table that contains a list of file paths and group members. Is it possible to run a script to return the members of each group? The group members are listed in the table as domain\groupname.
 
Yes. This can be done by adding a reference to Active DS Type Library (activeds.tlb) in the VBE pane.

Once you do this take a look at [tt]IADsGroup.Members[/tt] in the object browser.

Hope this helps,
CMP

Instant programmer, just add coffee.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top