Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General Forum
 Tips and Tricks
 Programmatically assign specific permission in Sha
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

bijayani
Welcome Newcomer

India
3 Posts
Status: offline

Posted - 06/28/2010 :  09:39:06 AM  Show Profile  Visit bijayani's Homepage  Reply with Quote
SharePoint site security helps manage permissions for different resources within a site by defining the levels of accessibility permissions for different peoples and groups. In SharePoint, always the top-level or the parent level permissions are inherited to it's child contents (e.g. a sub-site inheriting permissions from it's parent site collection).

In-order to create unique permission we need to break the inheriting parent permission and create new permission level for the SharePoint content. These permissions can be defined for specific users or groups.

Provided below is an example using C# for defining custom permission for a list item.
// assign a item to SPListItem object.
SPListItem objLstitem = objLst.Items[0]; // objLst is the SPList object

Thanks,
Bijayani
http://www.mindfiresolutions.com/Sharepoint-Support.htm]SharePoint 2010 Migration

Regards,
Bijayani
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2009 Mark Minasi Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000