Select to view content in your preferred language

addUsers method in ArcGIS REST API for public groups

724
1
08-12-2021 08:31 AM
Sai_PhaneendraPoludasu2
Occasional Contributor

Sai_PhaneendraPoludasu2_0-1628781683818.png

Groups settings are as mentioned above, the group is visible to others and users are allowed to add themselves to the group.

With these permissions, if addUsers REST API method is called with the params mentioned below

params:

  • token
  • users: logged in user's username

I think this should add the user to the group, but I see the following error. Appreciate any help on this from the community.

Sai_PhaneendraPoludasu2_1-1628782274175.png

 

Thanks,

Sai

0 Kudos
1 Reply
VictorTey
Esri Contributor

when you log into portal using the same username you used to create the token, can you manually add a user to the group using the portal ui?

0 Kudos