2

I've been searching everywhere for information on how to programmatically add a user to an Audience. Is this at all possible? We'd like to set up Audiences as a kind of "Subscription" base where our users can receive content according to what Audiences they are subscribed to.

I've literally found nothing through the API or Google, and any help is appreciated.

2 Answers 2

2

To my knowledge you do not add User to an Audience, but rather build rules that would include the respective user to an audience.

Creating rule based Audiences is available here http://msdn.microsoft.com/en-us/library/ms498178

Then you could check is user is part of an Audience in a particular Web, see here http://msdn.microsoft.com/en-us/library/ms500775

2
  • Thanks, that's what we expected too. So it looks like we can't get our users to be able to subscribe to an Audience. However, we found out that we can do Target Audience filtering on groups, so I think we'll go that route. Hopefully you can add a user to a group programmatically!
    – EHorodyski
    Commented Jul 26, 2012 at 15:42
  • Yes indeed, audiences could include groups too, and yes it is very simple to add users to groups, quick g-search: geekswithblogs.net/madhawa/archive/2008/11/18/127171.aspx Commented Jul 27, 2012 at 6:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.