How to store multiple UserIds and passwords without using orchestrator?

Hello community!

How can i store multiple user id and passwords…can i store this in array?

Because what i have to do is i want to enter one by one user ids and password and i want to login it and then perform the steps for that user id…once the required steps is done for that user id it will logout and again it will login and it will enter another user id and pasword and do the required steps.

@Priyesh_Shetty

You can store them in config or can store them in arrays also…if youa re ok

Cheers

@Priyesh_Shetty

Create a configuration file, which could be a text file, JSON file, or any structured format. This file will store the UserIDs and encrypted passwords. You should ensure that this file is stored in a secure location with restricted access.

In your configuration file, store UserIDs alongside their corresponding encrypted passwords, so that you can associate each password with the correct user.

The encryption key used to encrypt and decrypt passwords should be stored separately from the configuration file. It should be securely managed and protected. It’s common to store the encryption key on a dedicated server with strict access controls.

@Anil_G but using a single loop is it possible to store user id and password?

Hi @Priyesh_Shetty ,

You can create a text or Excel to store all the Unique identifier of your Userid & Password.

Store your Credentials in windows credential manager and using for each activity read that values from your list.

Thanks,
Sandhiya P

@Priyesh_Shetty

You can store multiple user IDs and passwords in a data structure (e.g., configfile, an array or list) and then iterate through them to log in, perform steps, and switch to the next set of credentials as needed.

cheerss…!

@Priyesh_Shetty

Yes …for loop has an index property…which can be used to access both array indexes

Another way is to use excel

Another way is to use dictionary…with username as key and password as value and loop all keys

Cheers

@Anil_G how can i do this?..You mean like this config(“userid1”).to string?

Hi @Priyesh_Shetty ,

Store all the values or usernames in Excel a store username & Password in Windows credential Manager.

Read excel and store in data table.

Using for each loop to get username and pass it in Target of Get Secure Credentials activity, output you will get Username and Password.

Please let me know if you face any issue.

Thanks,
Sandhiya P

@Priyesh_Shetty

For loop with dict.Keys…this will loop through all keys

inside loop currentItem is username dict(currentItem).ToString will be the password

and while assigning values you need to use assign with dict("Username") = "Password"

Hope this is clear

cheers

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