Skip to main content

Questions tagged [runwithelevatedprivileges]

A method of the SPSecurity class, RunWithElevatedPrivileges executes the specified method with Full Control rights even if the user does not otherwise have Full Control.

0 votes
0 answers
58 views

I'm trying to debug a server solution which stopped working when it was migrated into SP 2019 (not sure if it was migrated from 2013 or 2016). The solution is using SPSecurity....
Rogerb's user avatar
  • 21
0 votes
1 answer
118 views

I want to migrate my farm solution from SharePoint 2010 to SharePoint 2019. I have RunWithElevatedPrivileges method used in SP2010 solution. Can it be used in SP2019 also?
Pratibha's user avatar
0 votes
2 answers
450 views

We have created a SharePoint framework app which adds items to SharePoint List. As we are in client side we gave "Contribute" level Permission to all the users to edit the form (to add update the ...
Sachin's user avatar
  • 1
1 vote
1 answer
482 views

I am working on a SharePoint online site collection. We have a list which can only be viewed by certain users. But inside our workflow we want to be able to add items in this list and to be able to do ...
John John's user avatar
  • 1,420
0 votes
1 answer
56 views

This issue seems like it should be very easy to resolve, however it has taken hours and makes no sense. Case: Custom application page with simple form fields. When the form is filled out by user, ...
psdpainter's user avatar
2 votes
1 answer
336 views

I am currently migrating our server side event receivers to be remote event receivers. Now, one thing I can not find a way of doing it is how I can run part of my remote event receiver code in ...
John John's user avatar
  • 1,420
0 votes
1 answer
157 views

I am having a problem with a Visual Studio workflow where I am attempting to open the site from an elevated context and am getting an Access Denied exception. My current user is in the Farm ...
Ross Ritchey's user avatar
0 votes
2 answers
125 views

I'm often using pattern where I create class Workspace. This class has some basic functionality and on of them is opening of webs, and also web in privilege mode: public class Workspace : IDisposable ...
PeterMacko's user avatar

15 30 50 per page
1
2 3 4 5 6