Blogroll

Thursday, November 14, 2013

Item level permissions in SharePoint: User should add/edit/read only their own items- SharePoint 2010.


A user requested that he need to have a permission configured on the item level where used can see only their own documents or can read all the items in the list.

As a SharePoint admin the though had some to my mind are:

? Simply deny as it’s only possible with Survey list in SharePoint 2007.

? Can have created a custom list but would be a tedious task.

? Can use the target audience feature but that would be with a complex configuration.  

However, as I was exploring the features of SharePoint 2010, I checked configuration on the List settings of SharePoint 2010 Platform and MS has done a great job to extend the feature from Survey list to all types of list in SharePoint 2010.

You can configure Item level permissions in one go.  You can go to List Settings -> Advance Settings and Item- Level Permissions.


You can also use PowerShell Script to manage the item level permissions:

Manage Read Access:

$SharePointSite = Get-SPWeb http://amar.com/
$list = $web.Lists[“Library Name”]
$list.ReadSecurity = 1
$list.Update()
$SharePointSite.Dispose()

Note: 1 = “Read all items”, 2 = “Read items that were created by the user”

Manage Write Access:

$SharePointSite = Get-SPWeb http://amar.com/
$list = $web.Lists[“Library Name”]
$list.WriteSecurity = 1
$list.Update()
$SharePointSite.Dispose()

Note:  1 = “Create and edit All items”, 2 = “Create items and edit items that were created by the user” 4 = “None”

If you have any queries/questions regarding the above mentioned information then please let me know.

I would be more than happy to help you as well as resolves your issues, thank you.

TechNet Wiki Link:

Applies to: SharePoint Foundation Server 2010, SharePoint Server 2010.

No comments:

ShareThis

snow flakes

blogger widgets Blogspot Tutorial

LinkWithin

Related Posts Plugin for WordPress, Blogger...