I tried to read the password of a ftp connection manager in an SSIS 2016 script task, not script component. I use following code to read the connectionstring and user name,