0
votes
1answer
490 views

How to use SPSecurityTrimmedControl to check if current user has edit rights to current page?

I am making a visual webpart in SP2010, and I want to use this below to only show content if the current user has edit rights to the current page: <SharePoint:SPSecurityTrimmedControl ...
2
votes
1answer
729 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 ...
0
votes
1answer
221 views

How to make different permission on document library?

I want to make document library that can filter view from the user organisation by region. In my Institution has 3 levels that has different level of access file. The hierarchy of user level can be ...
3
votes
4answers
379 views

Problem with Visual web part

Good day! I have an event handler that, when you add a document to the library redirects the user to a web form with the parameters of the document. In the web form, it displays the current user in ...
3
votes
1answer
529 views

Show asp.net webpart elements based on user permission level?

I want to do the following: I have a webpart and two users (not in groups, though, because for a reason I don't understand there are no groups in the productive environment here ;) ). One stands ...
1
vote
1answer
335 views

Permissions to write into but not view a list?

I have a custom web part on my home page that is essentially a textbox and a button for submitting suggestions. The suggestions are written to a custom list named "Suggestions". Now, I would like ...