Get secure credentials, value mapping a secure string

how do you do this in studio x?

Hello @Peled_Daniel ,

To convert Secure String value to String
PasswordStr = New System.Net.NetworkCredential(String.Empty,SecureStringVariable).Password

For more details read the below article :

Regards,
Rohith

Hi, thanks for this. In Studio X, since I can’t change the type of the variable in value mapping, I’m assuming I can enter this code inside of the properties for the Get Secured Credentials activity?

Hello @Peled_Daniel ,

In Get Secured Credentials provide user Name and Password variable to store the values.

password will be a SecuredString here if you want to convert the secure string to string
use another assign and put PasswordStr = New System.Net.NetworkCredential(String.Empty,SecureStringVariable).Password