<add name="LDSAMembers"
type="System.Web.Security.SqlMembershipProvider"
connectionStringName=""
applicationName=""
requiresUniqueEmail="true"
passwordFormat="Encrypted"
minRequiredPasswordLength="6"
enablePasswordReset="true"
enablePasswordRetrieval="true"
maxInvalidPasswordAttempts="5"
passwordAttemptWindow="15"
requiresQuestionAndAnswer="false"
minRequiredNonalphanumericCharacters="0" />
i need decrypted password to login in the system.i find password and passwordsalt field in database
I used the above configuration in a scenario where it was appropriate (i.e. passwordFormat=”Encrypted”). The following code was used to reset a user’s password with a specified new password (as oppposed to generating a new password), so that the cs rep can ask the user for a new password while on the phone and change it for them, without knowing the old password.
A call to user.ChangePassword requires the current password to be passed:
user.Password() returns the current password in clear text.