Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Unmasked Password

Community Alums
Not applicable

Hello Team,

 

I have Requirement  to visible password for user of sys_user table . I have Written Background script  .

 

var gr = new GlideRecord("sys_user");
gr.addQuery("sys_id", '4b663359db2ae20050abf2adbf9619bb');
gr.query();
if (gr.next())
{
gs.print(gr.variables.v_masked);
}
 
ooo_0-1705045597002.png

It showing Undefined plz let me know , how we can visible this password with background script or any other way 

7 REPLIES 7

"all passwords"

 

That's not true 🙂

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Apologises ! @Mark Roethof 
Can you please make it correct, I will change it before people starts following up this wrong information

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

"Can you please make it correct"

 

How should I make it correct? It's your reply.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn