Filter web part by group

Mar 11, 2013 at 9:10 PM
Hello. Anyone know how to filter and hide the web parts by group? Also, how would I link this web part to my existing list so I can show the list data only to a specific group. Any help appreciated. Thanks.
Coordinator
Mar 12, 2013 at 12:44 PM
Can you get the group into the User Profile and filter on a value in there?
Mar 12, 2013 at 1:25 PM
Hi JoeD,

Thanks for responding. Currently, I have the follwing settings:

Data Source = UserProfile
Data Source Field = Group Name
Data Source Comparison Type = Equals
Compare Data Source Value to = (left blank)

This is my first time working with this. I'm trying to get the visibility web part to show my existing list. But not sure how to modify the web part and connect it to the list so I can see all items and only show to a special group. Any ideas?
Coordinator
Mar 13, 2013 at 1:43 PM
So I assume there is a User Profile field named "Group Name"?

You would put the name of the group whose members you want to see in the Compare Value field.

Then connect the filter web part to the web part you want to show/hide.

But for that, it may be easier to use an Audience on the web part. In Central Admin, create an Audience with the member being the group you want to see the web part, then compile the Audience, then specify that Audience in the config of the web part.

If you are not seeing your AD group in the Audience, look here:

http://blog.arjanfraaij.com/2011/05/adding-active-directory-ad-group-to.html