SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I noticed if i have a custom webpart and i'm sure the user doesn't have access to the list.The users still see the content(link title for example) but only get access denied when they click on it. This particular scenario is when connecting via webservices using via web services. Is it possible to hide the whole data webpart based on permissions.

Also tried using SharePointWebControls:SPSecurityTrimmedControl around the webpart but no show :(

I have also read about the target audiences but can i use this without setting up user profile?Will this work with AD groups/SP groups?

Thanks in Advance

share|improve this question
up vote 1 down vote accepted

Yes, Target Audience can be used with SharePoint Groups. If you plan on using AD Groups as well, you'll need to map those groups to SharePoint Groups to fully use the Target Audience functionality.

share|improve this answer

Your Answer


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.