I have added credential in orchestrator .I need to fetch the password the password should be visible
In message box I need to get the password
use get credential activity
1 Like
How to get password in message box
Hi @sruthesanju
Use Get Credential Activity and save the output in two variables say UserName and Password
=> Use below syntax in Assign activity
strOutput = New System.Net.NetworkCredential(String.Empty, Password).Password
strOutput is of DataType System.String.
Now, your password will be visible in Message box.
Hope it helps!!
3 Likes

set this in string variable pass that string variable to message box
new system.Net.NetworkCredential(String.Empty,passwordValue).Password
here passwordValue is the variable that you save in get credential activity
Hi @sruthesanju
- Take Get Credentials Activity - loginUsername & loginPassword as Variable
and pass AssetName - Use below expression in Message Box
New System.Net.NetworkCredentials(String.Empty,loginPassword).Password
Hope it’ll helps you ![]()
Cheers!!
