Skip to main content
16-Pearl
August 26, 2024
Question

PASSWORD field unable to import

  • August 26, 2024
  • 0 replies
  • 764 views

Hi, I have a datatable and one of the field is of type PASSWORD , now i edit the field and choose string for it and i can see encrypt value of this field ...and i am saving the value in datatable using  Resources["EncryptionServices"].EncryptPropertyValue(params) and now i want to see the original values of these fields. Is there any way that i can see the original values? I have written a service to get the entries as a REST API and then iterate each entry and get the field password as one long string and using ACCEPT / also but for me its still coming the same encrypted values what it shows in datatable.

 

 

 

 

my code to add password

 

result.AddRow({
loginName: loginName.toUpperCase(),
firstName: firstName,
lastName: lastName,
language: language,
emailAddress: emailAddress.toLowerCase(),
hashedLoginName: me.SHA256({
toHash: loginName.toUpperCase()
}),
groups: groups,
loginPassword: Resources["EncryptionServices"].EncryptPropertyValue({
data: me.SHA256({
toHash: loginPassword
})
})
});