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?

@Rowley101

Check below for your reference
https://forum.uipath.com/t/tutorial-how-to-configure-gmail-for-email-automation/244169/2

Hope this helps you

Thanks

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

@Rowley101

Declare a String Variable write as below

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

Is it this you are looking for?

Thanks

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.