How to elevate permission in JSON code to access SharePoint list?
How to elevate permission in JSON code to get permission to do Add/Edit/Update operation on SharePoint list? (similar to RunWithElevatedPriviledges in SSOM). If elevation is not possible then my question is how to do Add/Edit/Update/Delete operation on a list access to which is highly restricted and which can be accessed only by senior managers?
  • Edited by User2278 Sunday, August 23, 2015 4:59 AM
August 22nd, 2015 6:52pm

Hi,

Elevating previleages is not possible in JSOM Code

https://social.technet.microsoft.com/Forums/windowsserver/en-US/ef752641-63e9-400b-a7e7-f7d74d7ee533/run-csom-javascript-code-with-elevated-privileges

Free Windows Admin Tool Kit Click here and download it now
August 23rd, 2015 11:38am

Hi User,

As Lakshmanan mentioned in his reply, by default you cannot use elevation in JSON. But you can achieve it using Provider hosted App if SharePoint Apps is configured in your environment.

You can refer below blog for elevated privileges in Provider hosted App.

http://dannyjessee.com/blog/index.php/tag/provider-hosted-apps/ 

August 24th, 2015 1:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics