.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

What is Run With Elevated Privileges in SharePoint and what is its syntax?

Posted By :abhays     Posted Date :November 12, 2012    Points :40   Category :SharePoint 
RunWithElevatedPrivileges (RWEP) executes the specified method with Full Control rights even if the user does not otherwise have Full Control. In Other words The RunWithElevatedPrivileges (RWEP) method enables you to supply a delegate that runs a subset of code in the context of an account with higher privileges than the current user.
A delegate method that is to run with elevated rights. This method runs under the Application Pool identity, which has site collection administrator privileges on all site collections hosted by that application pool.
The example shows the syntax that is required to define an anonymous method in the call to RunWithElevatedPrivileges.
// implementation details omitted

You can also find related Interview Question to What is Run With Elevated Privileges in SharePoint and what is its syntax?  below: 

Does omitting the parenthesis make the syntax cleaner?

Yes, if "cleaner" to you is fewer characters on the screen. No, if "cleaner" to you is something that appeals to the sense of logic and reason. (More...)

What are the privileges that can be granted on a table by a user to others?

Insert, update, delete, select, references, index, execute, alter, all (More...)

What is Sharepoint?

Sharepoint is a Portal Collaboration Software provided by Microsoft , That can be configured to run Intranet, Extranet and Internet sites (More...)

What is the difference between SharePoint Portal Server and Windows SharePoint Services?

SharePoint Portal Server is the global portal offering features like global navigation and searching.Windows SharePoint Services is more content management based with document libraries and lists. You apply information to certain areas within your portal from windows share point Services or directly to portal areas. (More...)

What is a document library in SharePoint?

A document library in SharePoint is where you upload your main or core documents. Document Library is consist of a row and column view with links to the documents, When the document is updated and so is the link is created on your site. You can also track metadata of your documents. Meta data in SharePoint is consisting of document properties. (More...)

What is a meeting workspace in SharePoint?

A meeting workspace in SharePoint is a place to store information, attendees, and tasks related to a specific meeting. (More...)

What is a document workspace in SharePoint?

Document workspaces in SharePoint consist of information surrounding a single or multiple documents. (More...)

What is the difference between a document library and a form library in SharePoint?

Document libraries in SharePoint consist of your main/core documents. For example a word document, excel, PowerPoint, Visio, pdf, csv, notepad etc. Form libraries consist of XML forms. (More...)

What is a web part zone in SharePoint?

Web part zones in SharePont are what your web parts reside in and help categorize your web parts when designing a page. (More...)

How is security managed in SharePoint?

Security can in SharePoint be handled at the machine, domain, or SharePoint level. (More...)

How are web parts developed in SharePoint?

Web parts are developed in Visual Studio .Net. VS.Net offers many web part for SharePoint and page templates and can also be downloaded from the Microsoft Site and the link is.

http://technet.microsoft.com/en-us/windowsserver/sharepoint/bb407286.aspx (More...)

What is a site definition in SharePoint?

A site definition is a methods in SharePoint for providing pre packaged site and list content. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend