Sometimes when creating SharePoint web or console applications, you may need to execute specific code blocks in another user's context. Impersonating users in SharePoint will require a couple of things: the account that the web or console app uses…
1. Microsoft.SharePoint.dll Create EventFiring.cs 1.Right-click on the project, select Add and click on New Item. 2.In the templates pane, select Class. 3.Enter the Name as EventFiring and then click OK. 4.Replace EventFiring.cs with the following co…
https://msdn.microsoft.com/en-us/library/office/hh824675(v=office.14).aspx Creating a SharePoint Sequential Workflow Using a Custom Task Approval Field SharePoint 2010   Summary:  Learn how to programmatically create and test a SharePoint sequential…
Question  147 Your company has an existing SharePoint 2010 public-facing Web site. The Web site runs on multiple loadbalanced Web front-ends. Your company recently changed its name. You are asked to design a plan to update the Web site content to ref…
Question  144 You are planning a feature upgrade for a SharePoint 2010 farm. The original feature with a version number of 1.0.0.0 is activated in numerous scopes within the farm. You have designed a new version of the feature, 2.0.0.0, which has bee…
Question  112 You are designing a public-facing SharePoint 2010 Web site for an elementary school that has many events each year. School administrators plan events for students and their parents. You need to create a design for meeting the following…
Question 16 You are designing a SharePoint 2010 solution to manage statements of work. You need to design the solution according to the following requirements:.Store the customer ID, purchase order number, estimated completion date, and other fields…
Question 59You are designing a collection of Web Parts that will be packaged into a SharePoint 2010 application that you plan to market worldwide. In order to be accessible in many different languages, the following elements must comply with localiza…
Question 75You are designing a feature for a SharePoint 2010 solution that will be activated by default in your site definition. The values for the configuration settings are based on the particular Web site on which the feature is activated. You hav…
Question 78 You are designing an application configuration approach for a custom SharePoint 2010 application. You need to design the application configuration to:.Store and secure custom configuration settings for the application including connection…