Get Credential - Password in Exchange

I have stored credentials within orchestrator.

I can retrieve and use the Username no problem, however when ever try to use the password uipath throws errors due to it being a secure string.

How do I get around this?

1 Like

Hello @Jersey_Practical_Sho

Use type secure string activity if you want to type it somewhere.

other wise you can decode using following expression

PassSTr = new System.Net.NetworkCredential(string.Empty, PasswordStr).Password

PasswordStr is a variable which is of type secure sting


first convert secure string into string using assign activity by creating a new variable and assign it as “system net.metworkcredential(”",password value which u declared in get credential activity).Password" and then use that string

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