Sunday 18 September 2011

Show\Hide list items from specific users or group in SharePoint


In a senario where you want to show a specific data only to a specific user or a group, whereas all the other data in the list should be visible to everyone else in the company. You can use the following approach

1. Create two views, one with all the all the list data that you want to show to your readers in the company.

2 Next create another view that will conatin other columns which you want to show it to a specific users.

3. Create a new column "Privileged User" People and Group and with "Allow Multiple Selections" is Yes and "Allow Selection of" -> "People Only"

4. Next Filetr your second view where the "Privileged User" as [Me]

5. Lastly, Edit the list in a datasheet view and copy and paste the user or group that you want to give access to in the Privileged User column.

Thats it!

Ads by Google

No comments:

Post a Comment