ArcGIS Online Group Authentication?

328
0
05-20-2019 02:51 PM
AlexGilvarry1
New Contributor III

Been searching around and I haven't found a solid answer for this yet:

Is there a way to check if a user is a member of a group within my ArcGIS Online org when they log in using OAuthInfo with JS API 4.x? I'm hoping to limit which portion of my data some users can see when they log in to the app, and this seems it could be a way to accomplish this, if possible. Basically I'd like to see which group(s) a user is in, and query the data they can see in the map accordingly. 

0 Kudos
0 Replies