Category Archives for "SharePoint Server Object Model"

Add and Display items from SharePoint list programmatically

Add and Display items from SharePoint list programmatically

This SharePoint tutorial explains, how to add an item to SharePoint list programmatically using SharePoint server object model code? We will also discuss how to display SharePoint list items using the server object model code. We can use the same server object model code to insert and display SharePoint list items in SharePoint 2010/2013/2016. In […]

SharePoint redirect to access denied page

sharepoint redirect to access denied page

This SharePoint 2010 tutorial explains, how to redirect to access denied page in SharePoint 2010/2013. There are different ways to send the user to Access denied page in SharePoint 2010/2013. SharePoint redirect to access denied page There will be certain situations where you can send the user to the Access denied page. Below are two […]

RunWithElevatedPrivileges in SharePoint 2010/2013

This SharePoint tutorial explains, what is RunWithElevatedPrivileges and how to use RunWithElevatedPrivileges in SharePoint 2010/2013 with SharePoint server-side object model code. SPSecurity.RunWithElevatedPrivileges method SPSecurity.RunWithElevatedPrivileges method executes the specified method with Full Control rights even if the user does not otherwise have Full Control. Suppose you have written a piece of code that will add an […]

How to Hide List or Document Library in SharePoint

hide document library sharepoint

In this SharePoint tutorial, we will discuss how to hide list or document library in SharePoint. We will learn how to hide a SharePoint list or document library programmatically using the SharePoint server object model code. And also we will discuss how we can hide a list or document library from SharePoint Designer 2013/2010. By […]

>