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

How Can I give a rights to the webpart. Now only I can see projecting by me webpart. I getting this error when I try to open each of user without me:

enter image description here

How Can I set a User privilages to the grup. At user privilages I have got this: And I'm in main group:

enter image description here

How Can I setup a rights to webpart.

share|improve this question
    
Is this a custom web part? If so, the users will need rights to whatever you are accessing inside the webpart. If they don't, then you will get the access denied page that you are seeing. –  Kit Menke Nov 27 '12 at 16:38
    
This is a Visual web Part. Please tell me how add all privilages to webpart to all uisers see it. I have got 5 lists meybe one of them havent got a privilages ? –  Grzegorz Z Nov 27 '12 at 17:44
add comment

2 Answers 2

up vote 1 down vote accepted

Always remember when creating custom web parts to make sure code, which gets data from lists that require login to see, is placed within a SPSecurity.RunWithElevatedPrivileges() block.

share|improve this answer
add comment

I manage with it by coment Throttling function:

// lstOtherList.EnableThrottling = false;
share|improve this answer
add comment

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.