Solved

Directoryservices.accountmanagement

Posted on 2012-03-26
2
274 Views
Last Modified: 2012-04-23
what is difference between
GroupPrincipal.GetMembers()
GroupPrincipal.GetMembers (true)
GroupPrincipal.GetMembers(false)
0
Comment
Question by:banu111
  • 2
2 Comments
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 37767000
GroupPrincipal.GetMembers(true) will search recursively and return nested group members, i.e. members of child groups.

GroupPrincipal.GetMembers(), GroupPrincipal.GetMembers(False) are the same and will only return members of the specified group (i.e. no recursive search of nested groups).
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 37767025
GroupPrincipal.GetMembers(), GroupPrincipal.GetMembers(False) will also return groups in the results whereas GroupPrincipal.GetMembers(true) will not
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sum28 challenge 31 105
map interface methods 3 62
countHi2 challenge 7 52
Adjust the position 3 47
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now