How does Audience Targeting in a List / Document Library work?


Often there is a misconception about how Audience Targeting in a List or Document Library works; lets consider a scenario where –

Administrator has setup an Audience on Shared Services Provider with following rule.
Account Name (Property) = Contoso\Adam

clip_image002

1) Users “Contoso\Adam” and “Contoso\Julie” both have Contributor rights in a Document Library. Administrator enables Audience Targeting from List Settings > Audience targeting settings.

clip_image004

2) Document Library has 4 documents out of which Administrator enables Audience Targeting on 1 document (Deals.docx)

clip_image005

Administrator expects this document should be only visible to Contoso\Adam user [Either in Document Library or in Document Library Web Part] which is an incorrect expectation. Contoso\Julie will still continue to see the document both in Document Library and Document Library Web Part.

For these kind of scenarios, it would be wise to use item level permissions which will not allow Contoso\Julie user to see the document in either Document Library or Document Library Web Part due to SharePoint Security trimming.

So, you must have a question now… What is the use of Audience Targeting in a List / Document Library?

To display the content of a Document Library based on audiences, you need to use the Content Query Web part. In the properties of the Content Query Web Part you can specify to use the audiences to display the content (apply Audience Filtering).

clip_image007

Comments (9)

  1. Anonymous says:

    @Larry: Thanks, I will try and expand when I get a chance

  2. Krishna Prasad says:

    Can yoy pls provide the info how the audience targeting works ?

  3. HouSP2010 says:

    Good article, really helped in clearing the misconception.

  4. Kandaiya says:

    Nice explanation.

  5. Larry says:

    Create a View with a filter on Target Audience field set to [Me] in the doc library. Then set configure views so only that 1 Target audience view is seen. ContosoJulie will NOT be able to see the docs.

  6. swetha says:

    Very good article. helped me

  7. Shayne says:

    That sounds like it would work Larry, but what if you want to display two target audiences, neither of which contains Julie or yourself?

  8. William Meisheid says:

    Larry, when I add the Target Audience column to a library, create a view that uses it, and add a group to the column I get the following in the column [; ; ; ; Groupname] and it does not filter the view based on the Target Audience. Any idea why the semicolons
    and is that why it doesn't work?