# We can convert secure string to String then what is the security behind this credential type.

We can convert the credential which is stored in Windows credential manager or assets to String type.

##### Post Metadata
- Posted at: over 6 years ago
- Author title: Software Engineer I
- Net upvotes: 1


## Comments
### Comment 1

SMTP activity does not take secure string in a password property.

What I did as a workaround is created another extra string variable for password like “StrPassword” and it Solved my Problem.


Follow these steps
Create a Variable StrPassword
Then taken a assign activity and assign value for StrPassword
And in value typed the string as
“new System.Net.NetworkCredential(string.Empty, password).Password”
Where “password” contains your secure string that you get from orchestrator assests or windows credentials..




##### Comment Metadata
- Posted at: over 6 years ago
- Author title: Automation Lead




## Related Product
[UiPath Agentic Automation](https://www.g2.com/products/uipath-agentic-automation/reviews)

## Related Category
[Robotic Process Automation (RPA)](https://www.g2.com/categories/robotic-process-automation-rpa)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


