DotNet Mirror
  DNM facebook   DNM Google+   DNM Twitter   
Stats
Total Count : 2
Resources Publish New Article  
 
What are the various default permission levels in SharePoint site
Ashok Nalam
SharePoint site has different permission levels for the SharePoint Groups. When you create SharePoint site, you can observe the below permissions as default. 

Full Control - Has full control.
Design - Can view, add, update, delete, approve, and customize.
Edit - Can add, edit and delete lists; can view, add, update and delete list items and documents.
Contribute - Can view, add, update, and delete list items and documents.
Read - Can view pages and list items and download documents.
Limited Access - Can view specific lists, document libraries, list items, folders, or documents when given permissions.
Approve - Can edit and approve pages, list items, and documents.
Manage Hierarchy - Can create sites and edit pages, list items, and documents.
Restricted Read - Can view pages and documents, but cannot view historical versions or user permissions.
Restricted Interfaces for Translation - Can open lists and folders, and use remote interfaces.

We can create our own set of permissions also. In order to create new permission, go to site settings -> Users and Permissions -> Site permissions -> Permission Levels(Display list of permissions avalible on site) ->  Add a Permission Level
By: Ashok Nalam | 19 Jun 2013 | Sharepoint | Views: 11524 | Comments: 0 | Tags:.NET  groups  security 
What is difference between SPContext.Current.Web and SPContext.Current.Site.OpenWeb()
Ashok Nalam
To refer SPWeb object sometimes we use SPContext.Current.Web or SPContext.Current.Site.OpenWeb(). Here we will see What are differences between SPContext.Current.Web and SPContext.Current.Site.OpenWeb()
SPContext.Current.Site.OpenWeb()
  1. Creates a new instance of the SPWeb object, and we are responsible to dispose after using it.
  2. OpenWeb() with out sending parameters opens root web of current site collection. If OpenWeb() with parameters opens specific web site.
  3. Expensive call - It cost more resources than reusing an existing one.
SPContext.Current.Web :
  1. Gives you access to the current instance of SPWeb, and you must not dispose it
  2. Gives current Subsite if you are at web other than root web.
By: Ashok Nalam | 01 Oct 2013 | Sharepoint | Views: 7749 | Comments: 0 | Tags:.NET  security