Select to view content in your preferred language

Using invite_users() to invite external users to multiple groups not working

183
1
07-05-2024 07:16 AM
Labels (2)
DeirdreSmyth
New Contributor III

Hi There,

I have set up some code to be able to add a single user to multiple groups in arcgis online.  This works fine when using the add_users() method for an internal user but when I try to do it for an external user with the invite_users() method it returns the value 'True' but it doesn't actually do anything.  I have sent invitations to the same user using the button on the group page so the user and group are setup correctly.

DeirdreSmyth_0-1720188707268.png

 

 

Tags (3)
0 Kudos
1 Reply
DeirdreSmyth
New Contributor III

 Resolved this issue but putting the username into an array  so it should be userN = ['username'] and then this is accessed in the subsequent code by userN[0]

0 Kudos