'Usage Dim instance As SPProcessIdentity Dim value As SecureString value = instance.SecurePassword instance.SecurePassword = value 'Declaration Public Property SecurePassword As SecureString
Use the SecurePassword property instead of the Password property to provide better security for the password while it exists in memory.