• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

Directoryservices.accountmanagement

what is difference between
GroupPrincipal.GetMembers()
GroupPrincipal.GetMembers (true)
GroupPrincipal.GetMembers(false)
0
banu111
Asked:
banu111
  • 2
1 Solution
 
Paul JacksonCommented:
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
 
Paul JacksonCommented:
GroupPrincipal.GetMembers(), GroupPrincipal.GetMembers(False) will also return groups in the results whereas GroupPrincipal.GetMembers(true) will not
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now