- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 02:35 AM
I set field in table is password(1 way encripted) but after create record,admin can't view this password.How can I make admin view this ? pls help me!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 03:36 AM
Hi,
If your field type is of password2 then you can decrypt with the below code,
var Encrypter = new GlideEncrypter();
var encrypted = current.<your_field name> ;
var decrypted = Encrypter.decrypt(encrypted);
gs.addInfoMessage("encrypted password.. " + encrypted);
gs.addInfoMessage("decrypted password.. " + decrypted);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 03:24 AM
Hi,
user_password field that stores passwords with one-way encryption. One-way encryption stores the password as a secure hash value that cannot be decrypted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 03:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 03:36 AM
Hi,
If your field type is of password2 then you can decrypt with the below code,
var Encrypter = new GlideEncrypter();
var encrypted = current.<your_field name> ;
var decrypted = Encrypter.decrypt(encrypted);
gs.addInfoMessage("encrypted password.. " + encrypted);
gs.addInfoMessage("decrypted password.. " + decrypted);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 08:01 PM
Thank a lot.I've fix my problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2018 08:04 PM
Thank you for help me fix that problem!!!