R
Richard Scannell
Guest
Suppose we have an AD Group structure that reflects an organisation :
Contoso Global
-Contoso Asia
+ Contoso China
etc.....
-Contoso Europe
- Contoso UK
+Contoso Birmingham
etc.
-Contoso London
Ian Jones - the boss in London
+Contoso UK HR
etc.
- Contoso UK Finance
Fred Blogs
Helen Brown
Each AD Group is made up of both people ( EG Managers ) and other 'child' AD groups
In the example above, 'Contoso London' would include
I can find out all the groups that 'Helen Brown' belongs to both directly and via nested groups.
How do I take a group as the start point, using .NET Framework 4.6. to find out the groups it belongs to, and the groups and members who belong to it?
I suspect this will be two distinct queries to find out
a) What groups and people belong to 'Contoso London' ( desired answer : Contoso UK HR, Contoso UK Finance, Ian Jones, Fred Blogs,Helen Brown) ?
b) What groups is 'Contoso London' a member of (desired answer : Contoso global, Contoso Europe, Contoso UK) ?
Any ideas gratefully received.
Thanks , Richard
Richard
Continue reading...
Contoso Global
-Contoso Asia
+ Contoso China
etc.....
-Contoso Europe
- Contoso UK
+Contoso Birmingham
etc.
-Contoso London
Ian Jones - the boss in London
+Contoso UK HR
etc.
- Contoso UK Finance
Fred Blogs
Helen Brown
Each AD Group is made up of both people ( EG Managers ) and other 'child' AD groups
In the example above, 'Contoso London' would include
- Contoso UK Finance
- Contoso UK HR
- Ian Jones
I can find out all the groups that 'Helen Brown' belongs to both directly and via nested groups.
How do I take a group as the start point, using .NET Framework 4.6. to find out the groups it belongs to, and the groups and members who belong to it?
I suspect this will be two distinct queries to find out
a) What groups and people belong to 'Contoso London' ( desired answer : Contoso UK HR, Contoso UK Finance, Ian Jones, Fred Blogs,Helen Brown) ?
b) What groups is 'Contoso London' a member of (desired answer : Contoso global, Contoso Europe, Contoso UK) ?
Any ideas gratefully received.
Thanks , Richard
Richard
Continue reading...