cancel
Showing results for 
Search instead for 
Did you mean: 
Nerrd
Nintex Newbie

Get site owners of a site collection

Hi All,

Is there a way to get the site owners of a site collection using workflow? What i'm trying to do here is create a form where the user can specify the site name or URL and it will retrieve the site owners.

 

Thanks

Labels: (1)
0 Kudos
Reply
1 Reply
Community Manager Community Manager
Community Manager

Re: Get site owners of a site collection

@Nerrd You could use the call web service action to call the endpoint via a REST call and retrieve the site owner that way. I am not sure of any other way to do that directly. 

 

Ideally, you would have the site list setup on the form (drop down preferred) so they don't screw it up. Then take the value into a variable, use the variable with the rest call, and return the value to them via an email or update on the list. 

 

Here is the REST API - GET http://<sitecollection>/<site>/_api/site/owner

https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-visio/jj246231%28v%3doffice.15%...

 

Hope that helps.

0 Kudos
Reply