How to assign credentials value to variable

how to assign credentials to variable secureString type

@Anil_G @Rahul_Unnikrishnan @sangeethaneelavannan1

Hi @pravin_bindage

Try with this expression

(new System.Net.NetworkCredential(“”, “Your String”)).SecurePassword

Check out this thread

Regards
Gokul

HI @pravin_bindage

(new System.Net.NetworkCredential(“”, “Your password”)).SecurePassword

Checkout this thread

Regards
Sudharsan

If you need to hide your password or credential completely.
then try this activity-


This will convert your string directly into password of type secure string
and even you are not able to see it.

Hi @pravin_bindage assign this to your secureStrType

SecurePass=New System.Net.NetworkCredential(string.Empty,“yourpassword”).SecurePassword

check output by: New System.Net.NetworkCredential(string.Empty,Password).Password

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