Programming with Reflection
SetEncryptedString method
Syntax object.SetEncryptedString EncryptedSetting, String
Sets an encrypted value for a string setting.
EncryptedSetting Argument type: Enumeration
Specifies a property that uses encrypted values. Use the property name preceded by the letters rc. Currently only the Password property uses encrypted values; use rcPassword for this argument to set an encrypted value for the Password property.
String Argument type: String
The clear (non-encrypted) string value for the setting. The actual value assigned to the specified setting will be the encrypted version of this string.