I would like to get the groups that user of Survey123 belongs to.
I can get the "username" using pulldata("@property", "username"), but, I not found how to get the user's groups from this document [1].
I need this information to filter the data from the survey layer in a Dashboard, where the Dashboard user can only see the features that were generated by the users of the same group.
Here the idea:
1) Record the name of the group the user belongs to in Survey123.
2) In Dasboard using Arcade, get a list of all the users in the same group that the Dasboard user belongs to.
With this list create the filter
I appreciate any help.
[1] https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm