Project Description

This solution add a web part in your gallery allowing you to hide/display web parts in a web part page based on the current user (WSS v3)


This project target WSS v3. If you are using MOSS 2007 you can use Target Audience

Installation

  • stsadm -o addsolution -filename PathToTheWSP
  • stsadm -o deploysolution -name webpartSecurity.wsp -immediate -allowgacdemployment -url YourSiteUrl

Usage

  • Start by activate the feature in your site collection
  • Add the web part on your webpart page

img1.jpg
  • Open the web part tool pane and define users who can view each webpart (Leave the field blank if you want that all users view the webpart)

img2.jpg

img3.jpg
  • That's all, web parts will be hide if current user is not defined on your configuration.

Last edited Dec 18, 2008 at 8:22 AM by lefortludovic, version 4