-
Re: is it possble to pull a list of the space owners
Robert Hanson Sep 21, 2018 10:08 PM (in response to kevincheuk)1 person found this helpfulI would like to know if there is any way for us to obtain a list of the space owners?
There is, but it isn't trivial unless you are familiar with the REST API.
I am going with the assumption that a Space "owner" is synonymous with a Person that has "manage" permission in the Space.
The pseudo code for doing this would look something like this...
For each of the 500 Spaces:
Fetch the appliedEntitlements for the Space (may require paging through results)
For each appliedEntitlement:
If the appliedEntitlement is for a Person and the appliedEntitlement has "manage" permission
Mark this Person as an Owner
If the appliedEntitlement is for a Security Group and the appliedEntitlement has "manage" permission
Fetch the Person(s) in the Security Group (may require paging through results)
For each Person:
Mark this Person as an Owner
Send an email to the Owners
The API endpoints of interest to you are these:
Jive REST API v3.14 → Place service (Get Applied Entitlements)