Solved

Directoryservices.accountmanagement

Posted on 2012-03-26
2
288 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

856 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