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

Is it possible? Have a button hidden right now by css, but want to open it up to certain groups. I tried using a CEWP with a simple jQuery script as a test and couldn't get it to work. Is there a way to do this?

I know you can use a list and use target audience on that with a content query, but that won't work for this situation.

share|improve this question
up vote 1 down vote accepted

It was as simple as the question was stated. I was using jQuery and editing the css that way initially and it wasn't working. When I used a regular stylesheet with a CEWP it works perfectly.

share|improve this answer
Don't use a CEWP, use a Script editor webpart. All webparts support audiences. – Christoffel de Gruyter Aug 18 '14 at 21:35

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.