문제

I'm having an issue with SharePoint 2013, In js file deployed on search page I need to check the users group by this API

/_api/web/sitegroups/getbyname('X')/Users 

The problem is that the users don't have permission to make this api call, is there any solution to allow all users to perform this specific call?

도움이 되었습니까?

해결책

You need to set the View membership of the group to Everyone.

Go to your SharePoint group > Group settings and then set Who can view the membership of the group? to Everyone and save the settings.

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top