How to read list with "Insert-only" permission [SharePoint 2010 in C#]

190 Views Asked by At

I'm using SharePoint 2010 and making webparts in C#.

I have a list where "Domain Users" can only insert entries to a list. The reason behind it is that we don't want any user to see what's in this list. Sort of a list for tickets requests.

Now, I need to make a webpart that displays entries submitted by the logged in user. If I am to make the webpart normally, I'd have to give the user read-permission. Now that I can't, I'm clueless.

Any idea or suggestion?

1

There are 1 best solutions below

2
On BEST ANSWER

You can use RunWithElevatedPrivileges

Anyway why you don't give the read permissions for only the item submitted by the current user ?