SharePoint by default didn’t expose any API methods or REST API endpoints to fetch all the groups that are given access to a subsite. However, by playing around the CSOM API, I was able to do so.
Below is the CSOM code in order to
SharePoint by default didn’t expose any API methods or REST API endpoints to fetch all the groups that are given access to a subsite. However, by playing around the CSOM API, I was able to do so.
Below is the CSOM code in order to