This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class AadExtensions | |
| { | |
| public static async Task<IEnumerable<IUser>> GetAllUsersInAppRoleAsync( | |
| this IActiveDirectoryClient client, | |
| string servicePrincipalObjectId, | |
| string appRoleId) | |
| { | |
| var guidAppRoleId = Guid.Parse(appRoleId); | |
| var appRoleAssignmentsPaged = await client.ServicePrincipals | |
| .GetByObjectId(servicePrincipalObjectId) |