Query about Credentials package of UiPath

How to get credentials from the Windows Credential Manager? I have to create a Log-In page, so after Opening Browser — I tried using the Get Secure Credential activity - Nothing was fetched. Then, I changed the CredentialType property to “DomainPassword”.
Now, The User name is being fetched but the password is blank - hence no LogIn. Any ideas how to fix this?

@priya.prachi,

Please find the below link:

https://www.uipath.com/kb-articles/how-to-work-with-windows-credentials

Regards,
Lakshman Ganta.

Hi Lakshman, thank u for your reply… But the link mentioned by you only works when we have the Orchestrator bot set up… Isn’t there any way without it?
Below error is thrown :
image

Can you share your workflow or tell me which activity are you using get Credentail activity or using it for Reframework ?

@priya.prachi,

Use Get Secure Credential activity

@priya.prachi

Get credential activity is for fetching credentials from orchestrator. You should use Get secure credential from the package uipath.credentials.activities. If you cant find the Get secure credential activity try to install from Manage packages from tool bar.

Hi,
I have installed the UiPath.Credential.Activities Package for my workflow. I am using the “Get Secure Credential” activity, while in the back end, I have created a Windows Generic credential - containing my Username & Password (for the Website I am trying to log in) in the Credential Manager of my computer.
Then, I am using the “Get Secure Credential” activity to fetch them from the Credential Manager, to input them to the Username & Password tabs, but they are not being fetched.
Then, I changed the CredentialType property to “DomainPassword”. Also, for password, I am using “Type Secure Text”.
Now, The User name is being fetched but the password is blank - hence no LogIn – Any help now?

Sorry, I can’t upload the workflow!

I am using this video for reference - https://www.youtube.com/watch?v=gl4Y-h3_hWM

@priya.prachi,

Please find the attached workflow.

Main.xaml (6.7 KB)

Here, username is of type String and password is of type Secure String.

Note: In login workflow, to type password, use Type Secure Text Activity.

@priya.prachi

Refer the XAML. Main.xaml (6.2 KB)

I referred both of your sample workflows, I am using everything correctly, even, the username is of type String and password is of type Secure String ; Still don’t know what’s wrong!

@priya.prachi,

Please send me your workflow and also send screenshot of windows credential manager where you added credentials

Can’t share the workflow as well as the Screenshot.
As for the workflow, I followed the same instructions as per the video I mentioned above (Step by Step).
And for the Credentials - I just created them in my system via the path - Control Panel\All Control Panel Items\Credential Manager\Add a Windows Credential - SAVE.

I wish it worked!
Anyways, thanks for the help.