Get IMAP using secure string password from 'GetCredentials'

Hi Everyone,
So i have taken my password from Orchestrator using the ‘GetCredentials’. secure.string

i am now wanting to use that variable in the GET IMAP activity but it only allows strings, not secure strings.
i have tried to convert secure.string to string but its not working.

any suggestions?


Check below for your reference

Hope this helps you


Sorry it i think you misunderstood the question.
on ‘get IMAP’ activity under logon > password i want to be able to enter a secure.String variable.

The video supplied does not explain how to do this


Declare a String Variable write as below

StringVariable = new System.Net.NetworkCredential(string.Empty, YourAssetVariableForPassword).Password

Is it this you are looking for?


Yes it works perfectly

Thank you

1 Like

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