# Credential Issue

**URL:** <https://forum.uipath.com/t/credential-issue/106730>\
**Category:** Help\
**Tags:** orchestrator\
**Created:** [April 1, 2019, 11:00am UTC](https://forum.uipath.com/t/credential-issue/106730 "2019-04-01T11:00:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaikjani](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shaikjani/32/176817_2.png) [@shaikjani](https://forum.uipath.com/u/shaikjani)\
**Post date:** [April 1, 2019, 11:00am UTC](https://forum.uipath.com/t/credential-issue/106730/1 "2019-04-01T11:00:09Z")

</div>

i am getting credentials from orchestator and entering into application,  
but password the secureString value entering wrong value.

---

<div class="post-metadata">

**Author:** ![HalmiNordin](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/halminordin/32/56547_2.png) [@HalmiNordin](https://forum.uipath.com/u/HalmiNordin)\
**Post date:** [April 1, 2019, 11:04am UTC](https://forum.uipath.com/t/credential-issue/106730/2 "2019-04-01T11:04:06Z")

</div>

Hi,

Please provide a screenshot to show your workflow.

---

<div class="post-metadata">

**Author:** ![Lahiru.Fernando](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lahiru.fernando/32/523857_2.png) [@Lahiru.Fernando](https://forum.uipath.com/u/Lahiru.Fernando)\
**Post date:** [April 1, 2019, 11:04am UTC](https://forum.uipath.com/t/credential-issue/106730/3 "2019-04-01T11:04:40Z")

</div>

Hi @shaikjani

Are you using the **Get Credential** activity?

1. Use the get credential activity
2. In the activity properties - mention the credential type asset you have in your Orchestrator
3. Under output of its properties - assign two variables to hold what you return. For the username, it should be a string variable, and for the password, it should be a SecureString variable.

and when you are typing it to some place, for the password, you gave to use **Type Secure Text**

Doesn’t this work?

---

<div class="post-metadata">

**Author:** ![syedabidraza](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@syedabidraza](https://forum.uipath.com/u/syedabidraza)\
**Post date:** [April 1, 2019, 1:34pm UTC](https://forum.uipath.com/t/credential-issue/106730/4 "2019-04-01T13:34:36Z")

</div>

Try this

StrPassword = new System.Net.NetworkCredential(string.Empty, StrSecurePassword).Password

Strpassword is of variable type - string  
StrSecurePassword is of variable type - secure string

---

<div class="post-metadata">

**Author:** ![shaikjani](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/shaikjani/32/176817_2.png) [@shaikjani](https://forum.uipath.com/u/shaikjani)\
**Post date:** [April 2, 2019, 5:33am UTC](https://forum.uipath.com/t/credential-issue/106730/5 "2019-04-02T05:33:51Z")

</div>

thank you all, it is working fine.
