We have a manual process at the moment where we have assigned "Content Owners" to out Sites/Sub-Sites. Content Owners, essentially have no greater permissions than regular users, but our Governance Team have assigned them to make the decision as to whether a User can access a resource within the Site Collection or not.
The Content Owner is assigned via a Web Part within the HomePage. Is there a way to pick up this data within a Script. I will be cycling through all Sites/Sub-Sites across my tenant. I know how to go through all Sites/SubSites, but just the data within the specific page isn't available.
The other method I had in mind, which will require some development, is to create Dummy SharePoint Groups to hold this data. If anyone can think of another way, that would be much appreciated.
Thank you