"Username and Password" in system properties

Vinay nalla
Tera Contributor

how can we set the 'username and password' in system properties..

1 ACCEPTED SOLUTION

@Vinay nalla 

Hope you are doing good.

Did my reply answer your question?

Would you mind marking the best matching answer as correct and helpful, to close this thread?

Thanks!
Ankur

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

15 REPLIES 15

MrMuhammad
Giga Sage

Hi Vinay,

I first want to understand the purpose/goal of setting the username and password in the system properties? However, you need two properties one for each and for username you can select type string and for password you can go with Password2 type, it will encrypt the password for you.  

hope that helps!

Thanks,

Sharjeel

Regards,
Muhammad

Anurag Tripathi
Mega Patron
Mega Patron

You can create a property of type string for user name and type password or password2 for password

 

find_real_file.png

 

-Anurag

-Anurag

Hi Anurag,

i want set both username and passwaord in single property

why so?

You can do that but password will not be encrypted then. To do so you can use 1 property of string type I guess, and separate it with any symbols and when you read the property, split it in username and password.

Read here : Encrypt a password in system properties

We use system properties to store the username and password for webservices but we store them in different properties.

 

-Anurag