Skip to content

Commit

Permalink
adding sorting for principal group membership command
Browse files Browse the repository at this point in the history
  • Loading branch information
santisq committed Sep 3, 2024
1 parent 93a5c35 commit 0da772e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void EnumerateMembership(
string source,
int depth)
{
foreach (Principal group in searchResult)
foreach (Principal group in searchResult.GetSortedEnumerable(_comparer))
{
if (ShouldExclude(group, _exclusionPatterns))
{
Expand Down

0 comments on commit 0da772e

Please sign in to comment.