Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - List groups from different domains

Reply
 
Old 02-17-2009   #1 (permalink)
frajoo


 
 

List groups from different domains

Dear all,

I have a question which I think is not easy to solve. That's why I
address to this forum.

We have to domains, one is the authentication domain, the other is the
resource domain. In the resource domain we use universal groups which
contain global security groups from our parent domain. So in brief, we
have domain a.be as authentication domain and b.a.be as resource
domain.

What I want to do is loop thru all OU's (containing user groups) in
the resource domain and list all the members (users/groups) belon to
that OU. If the member is a group, that list also has to be
displayed.

For instance: we have an OU called 'Corporate Groups' which contains a
universal security group called UG_SYSTEM_TEAM. This group contains 2
groups, namely GG_SYSTEM_TEAM which is a global security group from
our parent domain and which contains the users. That group contains a
group called GG_SIS and GG_BSB.

Schematicaly:
UG_SYSTEM_TEAM (b.a.be)
GG_SYSTEM_TEAM (a.be)
GG_SYS (a.be)
GG_BSB (a.be)
user1 (b.a.be)
user2 (b.a.be)
UG_PROJECT1_USERS (b.a.be)
GG_PROJECT1_USERS (a.be)
user3
user4
UG_PROJECT2_USERS (b.a.be)
GG_PROJECT2_USERS (a.be)
user4
user5

I want to list all the groups and all it's members.

Can someone give me a hint how to do this?

Thanks a lot

Johan

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
how do you nest groups cross domains?? I'm fairly new at this. VB Script
VBScript nesting groups cross domains VB Script
VBScript nesting groups cross domains VB Script
I want list of registered,deleted,on hold domains .... .NET General
GROUPS IN CONTACTS LIST Live Mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46