Forum Discussion
EVERTON BATISTA PETRO ALEXANDRE
May 14, 2019Brass Contributor
SharePoint like mobile backend
Hello, I am using SharePoint 2016 on premise and I need to use the SharePoint data, like documents and items in a Ionic Mobile App. But in SharePoint 2016 I have files that the a user can't see, so I need get only the items that user can see (has permission). I am using SharePoint permissions... But, how can I should to call the API, like search (or another) SharePoint Rest API and retrieve only the files that user has permission?
Thanks
Everton
2 Replies
- Have you actually tried SharePoint APIs? They are designed so they return only the information the user can access
- EVERTON BATISTA PETRO ALEXANDREBrass Contributor
jcgonzalezmartin Yes, in browser it works perfectly. But, in mobile I dont have the sharepoint auth cookie feedauth.