hasokeric
9/10/2017 - 1:40 PM

Verify User Password in BPM

Verify User Password in BPM

using Epicor.Security.Cryptography.SHA;

if(Hasher.VerifyHash(base.callContextBpmData.Password, this.GetPasswordBySystemUserId(Db, callContextClient.CurrentUserId), "SHA256"))
{
  //Valid
}
else
{
  //Invalid
}