The PasswordRecovery type exposes the following members.

Constructors

  Name Description
Public method PasswordRecovery
Initializes a new instance of the PasswordRecovery class.

Methods

  Name Description
Protected method OnInit
Overridden OnInit: support for Web part exporting.
(Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnNewPasswordGenerated
Raises the [E:NewPasswordGenerated] event.
Protected method OnParseMailTemplate
Raised when e-mail template parsing takes place.
Protected method OnPasswordRequestSending(CancelEventArgs)
Raises the [E:PasswordRequestSending] event.
Protected method OnPasswordRequestSending(String, CancelEventArgs)
Called when password request is being sent.
Protected method OnPasswordSend(CancelEventArgs)
Raises the [E:PasswordSend] event.
Protected method OnPasswordSend(String, CancelEventArgs)
Called when password has been sent.
Protected method OnPreRender
OnPreRender.
(Overrides BasePart..::..OnPreRender(EventArgs).)

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Protected field btnChange
btnChange control.
Protected field btnSend
btnSend control.
Protected field captchaModule
captchaModule control.
Protected field Div1
Div1 control.
Protected field Img1
Img1 control.
Protected field labMessage
labMessage control.
Protected field labMessageChange
labMessageChange control.
Protected field panChange
panChange control.
Protected field panRequest
panRequest control.
Protected field plhPasswordForm
plhPasswordForm control.
Protected field txtPassword
txtPassword control.
Protected field txtRepeatPassword
txtRepeatPassword control.
Protected field txtUserName
txtUserName control.
Protected field validationHandler
validationHandler control.
Protected field validationSummary
validationSummary control.
Protected field validationSummaryChange
validationSummaryChange control.
Protected field vldCompareRepeatPassword
vldCompareRepeatPassword control.
Protected field vldRequiredPassword
vldRequiredPassword control.
Protected field vldRequiredRepeatPassword
vldRequiredRepeatPassword control.
Protected field vldRequiredUserName
vldRequiredUserName control.

Properties

  Name Description
Public property EnableCaptcha
Gets or sets a flag if Captcha is enabled.
Public property EnableSSL
Gets or sets a flag if SSL is enabled for SMTP send e-mail message.
Public property MailRequestTemplateHtml
HTML template for mail message sent on password change request.
Public property MailRequestTemplatePlainText
Plain text template for mail message sent on password change request.
Public property MailSubject
Mail message subject.
Public property MailTemplateHtml
HTML template for mail message sent on successful registration.
Public property MailTemplatePlainText
Plain text template for mail message sent on successful registration.
Public property RequestExpireHours
Gets or sets the hours until the password change request expires.
Public property SentSuccessfully
Gets or sets a sent successfully message.
Public property SentUnSuccessfully
Gets or sets a sent unsuccessfully message.
Public property UseResetPasswordOnly
Gets or sets a flag if password recovery will use reset password and will not send an existing password to a user.

Note: This functionality is turned off by default.

Public property UserName
Gets or sets the name of the user.

Events

  Name Description
Public event NewPasswordGenerated
Occurs after new password is generated.
Public event PasswordRecoveryEmailSending
Occurs before password changed email is sent. The default action can be stopped via the Cancel property of the CancelEventArgs.
Public event PasswordRecoveryEmailSendingCompleted
Occurs after password changed email is sent. One typically displays a success message or redirects a user to another page in this event.
Public event PasswordRecoveryRequestEmailSending
Occurs before password recovery request email is sent. The default action can be stopped via the Cancel property of the CancelEventArgs.
Public event PasswordRecoveryRequestEmailSent
Occurs after password recovery request email is sent. One typically displays a success message or redirects a user to another page in this event.

See Also