New answers tagged groups
Dynamically get by what? If you need to get group by ID, the make a GET request to the following URL. Assuming GroupId equals 14. /_api/Web/SiteGroups(14) If you need to find by group Title or any property, then use $filter /_api/Web/SiteGroups?$filter=Title eq 'Approvers'
There is a site collection audit level event that can be enabled. Go to Site Settings and click on Site collection audit settings in the Site administration section. Tick the box for Editing users and permissions. This will start to aggregate statistics on permission changes. You can then run audit log reports against this data.
So you can't secure them individually as list item attachments. The easiest way may be to keep them separate in a library where only the users that need access have permissions. One method I can think of where you could achieve a "visual" separation is to use multiple list views and audiences. Create two audiences with each group of users. Add two list ...
Here a kind of step-by-step guide for a document library in SharePoint 2013 on-prem. Go to your library and click on "Shared with" Click on "Advanced" Click on "Stop Inheriting Permissions" Set your groups with the permisson levels of your choice Single Document Permissons: For a single document select the document first (1), then click ...
Use target audience settings of the web part. Set it to the SharePoint group that can only see the contents of that view. The only trade off is that, when a user is not on that group, he can select the view but will only see a blank white area.
Top 50 recent answers are included