Skip to content

Commit 833f9cc

Browse files
committed
DEVDOCS-13477 update code snippet for audit example
1 parent 93a632c commit 833f9cc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

launcher-csharp/Admin/Examples/AuditUsers.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,18 @@ public static IEnumerable<UserDrilldownResponse> GetRecentlyModifiedUsersData(st
4040

4141
//ds-snippet-start:Admin5Step5
4242
var usersData = new List<UserDrilldownResponse>();
43+
//ds-snippet-end:Admin5Step5
44+
//ds-snippet-start:Admin5Step4
4345
foreach (var user in recentlyModifiedUsers.Users)
4446
{
4547
var getUserProfilesOptions = new UsersApi.GetUserProfilesOptions { email = user.Email };
48+
//ds-snippet-end:Admin5Step4
49+
//ds-snippet-start:Admin5Step5
4650
usersData.AddRange(usersApi.GetUserProfiles(orgId, getUserProfilesOptions).Users);
51+
//ds-snippet-end:Admin5Step5
4752
}
4853

49-
//ds-snippet-end:Admin5Step5
54+
5055

5156
return usersData;
5257
}

0 commit comments

Comments
 (0)