Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » SPS 2003 » WSS 3.0   (RSS)

What permissions are behind the permission levels (roles) in SharePoint

Recently, I was involved in a support request where I had to find out what SPBasePermissions are assigned behind permission level in SharePoint using SharePoint OM code. First some basics about permission level and base permissions. If you are in your

"The security validation for this page is invalid" error when updating objects through SharePoint object model

This error is often encountered when SharePoint OM is used to update site/web/list objects from within a web context. Some thing so basic as the code below could fail: using ( SPSite site = new SPSite ( "http://moss" )) { using ( SPWeb web = site.OpenWeb())

GetWebTemplate web method does not return & AddList web method does not recognize my custom list templates!

When you use the “GetWebTemplate” web method provided through webs.asmx web service, you’ll notice that the custom list templates you might have created is not available in the collection returned. This is because the OM call that happens behind-the-wires,
Posted by sridhara | 2 Comments
Attachment(s): CustomLists.zip

"Out of Memory" exception - when adding item to a list using SharePoint OM

Here’s the scenario: A tool that’s designed to add log messages from an application to a SharePoint list. The log messages are themselves “strings”, which when put in a text file may vary anywhere between 1kb to 10mb in size. At a single time, this logging

Starting note on Content Editor Web Part

Recently, I worked a tricky and interesting case where a customer wanted to “silently” put a file in user’s computer. My buddy, Sowmyan bet me by blogging about it here . A job superbly done!! Watch out for enabling Initialize and script ActiveX controls
 
Page view tracker