Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a list and for example in my list there is a column called "Go to" and this column has values "user1", "user2" and "user3".
I want my list items which have "user1" value just be visible to user 1 or just user 1 have the ability to edit it and other users cannot edit or see this item; and the same procedure for other items and "user2" and "user3".
How should I do this?

share|improve this question
1  
Aramesh, do you want the items visibility based on the value of "Go to" column? I thought people misunderstood you or I did..? and I got it correct you have to work on Item level permissions! –  Arsalan Adam Khatri Nov 8 '12 at 10:02
    
Yes I want visibility based on the value. When a value is "1" this item for example is visible for user 1... –  MRAramesh Nov 8 '12 at 10:16

4 Answers 4

Requirement 1: For making logged in user specific items visible - only

Modify the list's view. Add a filter where "GO TO" = [Me]

Requirement 2: Making the item editable by only the "Goto" user

Below are the options:

  1. DISABLE (SEE + EDIT) for other users Use target Audience for each item

  2. DISABLE (EDIT) for other users On Item Editing EVENT HANDLER, you can check the current user against "Goto" & accordingly procced further OR display error message

share|improve this answer

You need to modify the view and set Go to column to [Me]. This way user's will be able to see items based on Go To column. Please note, this doesn't mean the users will be able to edit the items. You can for example give users Contribute permissions on the list and that way they will be able to edit the items as well.

share|improve this answer

Aramesh,

You need to set Item Level permission on ItemAdded Event Receiver..

Please have a look at Setting Item Level Permissions Programmatically

Here is How to create Event Receivers on List Item

I hope this helps!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.