I have Password stored in User table which is encrypted. My requirement is every time user logins into the system his Username and Password should be checked against User DB fields. Not sure how to compare Password field with DB field.
Hi Nimo,
You can use ValidatePassword action available in PlatformPasswordUtils API.
ValidatePassword
Validates a password against the expected salted password hash.
Inputs
Outputs
Thanks! Will try and let you know what happens
Thank you so much ma'am. It worked for me
It's great to hear that it solved your problem. Please mark this answer as a solution so that it would be helpful for others who came up with same question.
Thanks and Happy Coding:)
When logging in as a user, the username/password will be automatically validated against the user db fields.
Why would you like to compare the password with the DB field?
KR Hans
As they are mapped fields from another table.
Client wants to use difference fields for login which are part of Employee table.
User Login action works on only User table based fields.