I've create the Web Part for SharePoint 2010, which contains simple custom property with PersonalizationScope.User
.
Web part inherited from the System.Web.UI.WebControls.WebParts.WebPart
private int _mainBodyBorderWidth = 0;
[Personalizable(PersonalizationScope.User),
WebBrowsable(true),
WebDisplayName("Main Body Border Width"),
WebDescription("Set main body border width"),
Category("Style")]
public int MainBodyBorderWidth
{
get
{
return _mainBodyBorderWidth;
}
set
{
_mainBodyBorderWidth = value;
}
}
When Site Administrator or users with permission Add and Customize Pages click "Personalize Page" and than "Edit My Web Part" this property is displayed in the web part tool pane. However users with standard permission level "Contribute" can't see this property.