I have tried to find if it is possible but I did not find anything yet. So, I just wanted to confirm here, if it is possible.
2
-
Not possible... – Juan Pablo Pussacq Laborde Sep 16 '16 at 10:52
-
You can if you make a SharePoint hosted app, then you can use App permissions. Same is true for Workflows, they also use app permissions, but then you don't need to add an actual app file – eirikb Sep 16 '16 at 11:53
-
If you need elevated privilege while write custom solution in JSOM then reconsider your architecture. JSOM was never meant for impersonation. Try to abstract out the functionality that requires impersonation and run it separately OR redesign the app as provider hosted app. – bkk Sep 17 '16 at 9:10
3
No,It is not possible.We cannot have code with extra privilege in JSOM. Please refer below links.
https://stackoverflow.com/questions/6028970/elevated-privileges-in-javascript
1
Impersonation is not possible from Client Side JavaScript.
I have also tried all possible solutions but no luck..