{"id":2651,"date":"2011-11-18T13:46:03","date_gmt":"2011-11-18T05:46:03","guid":{"rendered":"http:\/\/www.sharepointboost.com\/blog\/?p=2651"},"modified":"2023-07-31T11:40:24","modified_gmt":"2023-07-31T03:40:24","slug":"how-to-configure-the-target-audience-for-a-web-part-in-sharepoint-2010-sites","status":"publish","type":"post","link":"https:\/\/www.boostsolutions.com\/blog\/how-to-configure-the-target-audience-for-a-web-part-in-sharepoint-2010-sites\/","title":{"rendered":"Enable Audience Targeting in SharePoint 2010"},"content":{"rendered":"<p>Microsoft Office SharePoint Server 2010 enables custom audience targeting for content and sites. The purpose is to define audiences and content that are relevant to a user or a group. As server or site administrator, you can define audiences and content for a specific set of users or group.<\/p>\n<p>The following steps will teach you how to enalbe audience targeting in sharepoint 2010.<\/p>\n<p><!--more--><strong>Step 1.<\/strong> Create two users in Active Directory which names are &#8220;test1&#8221; and &#8220;test2&#8221;.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.1-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2652\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.1-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"920\" height=\"529\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.1-how-to-configure-the-target-audience-for-a-web-part.png 920w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.1-how-to-configure-the-target-audience-for-a-web-part-300x172.png 300w\" sizes=\"(max-width: 920px) 100vw, 920px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 2.<\/strong> Log in SharePoint site with the administrator.<\/p>\n<p><strong>Step3.<\/strong> Go to Site Settings&gt;Site collection features, start the &#8220;SharePoint Server Publishing Infrastructure&#8221; feature, then go to &#8220;Site collection navigation&#8221; to check if &#8220;Enable audience targeting&#8221; is selected.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.2-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2653\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.2-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"855\" height=\"145\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.2-how-to-configure-the-target-audience-for-a-web-part.png 855w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.2-how-to-configure-the-target-audience-for-a-web-part-300x50.png 300w\" sizes=\"(max-width: 855px) 100vw, 855px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.3-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2654\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.3-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"523\" height=\"464\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.3-how-to-configure-the-target-audience-for-a-web-part.png 523w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.3-how-to-configure-the-target-audience-for-a-web-part-300x266.png 300w\" sizes=\"(max-width: 523px) 100vw, 523px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.4-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2655\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.4-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"811\" height=\"458\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.4-how-to-configure-the-target-audience-for-a-web-part.png 811w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.4-how-to-configure-the-target-audience-for-a-web-part-300x169.png 300w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 4.<\/strong> Go to Site Settings&gt;Site Permission&gt;Create Group, create a group named &#8220;testinggroup&#8221; whose permission level is Full control, then add &#8220;test1&#8221; to this group.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.5-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2656\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.5-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"754\" height=\"449\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.5-how-to-configure-the-target-audience-for-a-web-part.png 754w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.5-how-to-configure-the-target-audience-for-a-web-part-300x178.png 300w\" sizes=\"(max-width: 754px) 100vw, 754px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.6-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2657\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.6-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"743\" height=\"402\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.6-how-to-configure-the-target-audience-for-a-web-part.png 743w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.6-how-to-configure-the-target-audience-for-a-web-part-300x162.png 300w\" sizes=\"(max-width: 743px) 100vw, 743px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 5.<\/strong> Go to Settings&gt;Site Permission &gt;Grant permissions, create a user named &#8220;test2&#8221; whose permission level is Full control.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.7-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2658\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.7-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"807\" height=\"501\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.7-how-to-configure-the-target-audience-for-a-web-part.png 807w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.7-how-to-configure-the-target-audience-for-a-web-part-300x186.png 300w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 6.<\/strong> Now let me take our product BoostSolutions Password Reset web part as an example. In the web part zone click Edit web part. In the Advanced section of the web part tool pane add the &#8220;testinggroup&#8221; into the Target Audiences box and click OK.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.8-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2659\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.8-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"583\" height=\"363\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.8-how-to-configure-the-target-audience-for-a-web-part.png 583w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.8-how-to-configure-the-target-audience-for-a-web-part-300x186.png 300w\" sizes=\"(max-width: 583px) 100vw, 583px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.9-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2660\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.9-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"916\" height=\"529\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.9-how-to-configure-the-target-audience-for-a-web-part.png 916w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.9-how-to-configure-the-target-audience-for-a-web-part-300x173.png 300w\" sizes=\"(max-width: 916px) 100vw, 916px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 7.<\/strong> Log in SharePoint with &#8220;test1&#8221; and &#8220;test 2&#8221; respectively. You will see the difference as below.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.10-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2661\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.10-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"799\" height=\"250\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.10-how-to-configure-the-target-audience-for-a-web-part.png 799w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.10-how-to-configure-the-target-audience-for-a-web-part-300x93.png 300w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.11-how-to-configure-the-target-audience-for-a-web-part.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-2662\" alt=\"\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.11-how-to-configure-the-target-audience-for-a-web-part.png\" width=\"796\" height=\"289\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.11-how-to-configure-the-target-audience-for-a-web-part.png 796w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/11\/Pic.11-how-to-configure-the-target-audience-for-a-web-part-300x108.png 300w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>When you log in SharePoint with &#8220;test1&#8221;, you will see the Password Reset web part, and when you log in SharePoint with &#8220;test2&#8221;, you will not see the web part. This shows we have set the target audience successfully.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Office SharePoint Server 2010 enables custom audience targeting for content and sites. The purpose is to define audiences and content that are relevant to a user or a group. As server or site administrator, you can define audiences and content for a specific set of users or group. The following steps will teach you [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[461,125,480],"tags":[254,253,255],"_links":{"self":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2651"}],"collection":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=2651"}],"version-history":[{"count":17,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2651\/revisions"}],"predecessor-version":[{"id":9280,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2651\/revisions\/9280"}],"wp:attachment":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=2651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=2651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=2651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}