Solved

Directoryservices.accountmanagement

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
withoutString  challenge 40 149
Making a javascript parser in javascript language 3 51
has77  challenge 9 68
Adjust the position 3 13
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

758 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

25 Experts available now in Live!

Get 1:1 Help Now