Error while using the Type Into Secure Text

Hi,

I am using input dialog to let the user key in the password.
Next, it will key in the password into the secure text.


However, it shows this error when I run the program.

May I know what is the problem?
Thank you

1 Like

HI @Ying_Zhen_Lee

Check whether the below post will help solve your problem…

2 Likes

Hi @Ying_Zhen_Lee,
The Input Dialog will output a string (e.g. myString as output to Input Dialog)
So create a securestring variable (e.g. mySecureString as variable name).
Add an Assign activity: mySecureString = (new System.Net.NetworkCredential("", “myString”)).SecurePassword
Then use the mySecureString variable in the Type Into Secure Text activity.

Thanks and regards,
Despi

3 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.