Home

SharePoint like mobile backend

%3CLINGO-SUB%20id%3D%22lingo-sub-567210%22%20slang%3D%22en-US%22%3ESharePoint%20like%20mobile%20backend%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-567210%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20I%20am%20using%20SharePoint%202016%20on%20premise%20and%20I%20need%20to%20use%20the%20SharePoint%20data%2C%20like%20documents%20and%20items%20in%20a%20Ionic%20Mobile%20App.%20But%20in%20SharePoint%202016%20I%20have%20files%20that%20the%20a%20user%20can't%20see%2C%20so%20I%20need%20get%20only%20the%20items%20that%20user%20can%20see%20(has%20permission).%20I%20am%20using%20SharePoint%20permissions...%20But%2C%20how%20can%20I%20should%20to%20call%20the%20API%2C%20like%20search%20(or%20another)%20SharePoint%20Rest%20API%20and%20retrieve%20only%20the%20files%20that%20user%20has%20permission%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EEverton%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-568372%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20like%20mobile%20backend%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-568372%22%20slang%3D%22en-US%22%3EHave%20you%20actually%20tried%20SharePoint%20APIs%3F%20They%20are%20designed%20so%20they%20return%20only%20the%20information%20the%20user%20can%20access%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-568977%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20like%20mobile%20backend%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-568977%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3BYes%2C%20in%20browser%20it%20works%20perfectly.%20But%2C%20in%20mobile%20I%20dont%20have%20the%20sharepoint%20auth%20cookie%20feedauth.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
EVERTON BATISTA PETRO ALEXANDRE
Contributor

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

@Juan Carlos González Martín Yes, in browser it works perfectly. But, in mobile I dont have the sharepoint auth cookie feedauth.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies