Created
April 26, 2023 08:50
-
-
Save BobToninho/033d34d8bbeeee035146edfb6a66f100 to your computer and use it in GitHub Desktop.
Check if user is in a group in PowerApps
This file contains 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
// Note: GruppidiOffice365 will vary according to your PowerApps UI language. Yes, it's ugly | |
Set( | |
varIsInGroup; | |
User().Email in GruppidiOffice365.ListGroupMembers("GROUP_ID").value.userPrincipalName || | |
User().Email in GruppidiOffice365.ListGroupMembers("GROUP_ID").value.mail | |
);; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment