1
vote
1answer
35 views

User loses permissions to list item temporarily

I have a huge list with articles (shop with 6000 articles) and there is a timerjob that runs like every 3 hours that updates the stock on all the articles based on the stock returned from an external ...
1
vote
1answer
78 views

Check user read access to a particular list item

I need to check if a user has read level access to a particular list Item. What would be the best approach 1) listItem.DoesUserHavePermissions(currentUser, SPBasePermissions.ViewListItems); //here ...
2
votes
1answer
753 views

How to check if user has read/write permission for a SPListItem in c#?

In my SP2010 visual webpart, I am checking permissions with the code below. Basically the current user is either an admin or a regular user. If they are an admin, they need to have permission to edit ...
2
votes
2answers
600 views

Adding list item when user does not have permissions question

I am trying to programmatically add a list item to a SharePoint list. The code works fine when executed by a user with contribute permissions, but does not work when a user has view only. Funny thing ...
0
votes
2answers
362 views

How to display list item attachment to a user without permissions on the list

I have sharepoint list/library. Only admin user has permission on this list. Now i want to display attachment to all authenticated user in my custom web part. How can i achieve this functionality.? ...
1
vote
0answers
199 views

Get SPListItems based on contribute permissions, programmatically

I have a problem in getting the list items the current logged user has contribute rights on. I have this scenario: List A has read permissions for anonymous access. Group 1- Has contribute rights ...
0
votes
2answers
439 views

The impact of BreakRoleInheritance()

I call BreakRoleInheritance on a document (the actual list item) in order to assign someone of less permissions the 'contribute' rights to that particular item. In doing that, have I 'broke' the ...
3
votes
4answers
356 views

Set permissions on an item depending on column value

Is there anyway to set permissions on an item depending on a column value? I was think about creating a feature to do this but do I have to?
0
votes
1answer
284 views

SharePoint OM wont' read item property

I have a list item with one field Classes which is a multiple choice lookup. I want to implement an ASPX page which contains a ListBox which is filled with values from the Classes field. The following ...