AllowUnsafeUpdates VS RunWithElevatedPrivileges


AllowUnsafeUpdates: If your code modifies Windows SharePoint Services data in some way, you may need to allow unsafe updates on the Web site, without requiring a security validation. You can do by setting the AllowUnsafeUpdates property. For detail click here AllowUnsafeUpdates RunWithElevatedPrivileges : There are certain object model calls model that require site-administration privileges. To […]

March 26, 2012 В· Infoyen В· No Comments
Tags: , , , ,  В· Posted in: MOSS, Security, SharePoint

RunWithElevatedPrivileges


Introduction: In this article I am going to explain you that How to use RunWithElevatedPrivileges in sharepoint object model. RunWithElevatedPrivileges Executes the specified method with Full Control rights even if the user does not otherwise have Full Control.The next example shows the syntax that is required to define an anonymous method in the call to […]

March 26, 2012 В· Infoyen В· 2 Comments
Tags: , , , ,  В· Posted in: MOSS, Security, SharePoint


myworldmaps infoyen