3

I have two SharePoint permissions groups:

  • HR
  • Employee

The Employee permission group does not have access to view the list, but I need to retrieve list items in a page.

How can I retrieve list items with JavaScript from that list that I do not have access?

2 Answers 2

7

In SharePoint JavaScript object model, It is not possible,because JSOM OR REST run under current user context. So if current user don't have permission on particular list then it is not possible to retrieve item from that list using current user who is not able to access this list.

1

please refer the below article by MSDN. I hope that would help you to solve your problem.

https://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.