Resets a user's password to a new, automatically generated password.
The new password for the membership user.
| Exception Type | Condition |
|---|---|
| NotSupportedException | EnablePasswordReset is not set to true. |
| ArgumentNullException | RequiresQuestionAndAnswer is set to true and the passwordAnswer is null. |
| VGMembershipPasswordException | passwordAnswer is invalid or user account is locked out. |
VGMembershipUser Class | Novalys.VisualGuard.Security.Membership Namespace | VGMembershipUser.ResetPassword Overload List