AnsweredAssumed Answered

How to automatically check that all participants in a collaboration are active?

Question asked by garnet on Jul 23, 2018
Latest reply on Aug 23, 2018 by JJeyarajah-esristaff

Hi all,

 

we have a few portals and some of them are collaborated with others. Typical host can have ~20 guests. I nee a way to automatically check that all collabs are good i.e. there are no missing guests.

 

I can see the participants in here 

 

url/arcgis/sharing/rest/portals/0123456789ABCDEF/collaborations/b7d41986f3a64acfa42d7… 

 

in the form of

portal_id, portal_url, status

and I can see them as JSON as well.

 

What is the best way to achieve this, in say python?

 

Another thing: how can I get token to login to portal when I use win auth?

 

url/arcgis/sharing/rest/generateToken 

 

ask for user/pass. Is this the only way?

Outcomes