I have a SharePoint web part with a web-browsable property that stores a password. I've decorated the property with the PasswordPropertyText attribute but whenever I edit the web part it shows the actual password rather than dots or asterisks. Here is my property declaration:
<Personalizable(PersonalizationScope.Shared), _
PasswordPropertyText(True), _
WebBrowsable(True), _
WebDisplayName("Your Password"), _
Public Property MyPassword() As String
Get
return m_myPassword
End Get
Set(value as String)
m_myPassword = value
End Set
End Property
Does SharePoint 2007 respect this attribute, or am I just not using it correctly?