IAdmSelfPasswordResetManager4

The IAdmSelfPasswordResetManager4 interface extends the IAdmSelfPasswordResetManager interface with the ability to send verification codes by e-mail.

Inheritance: IAdmSelfPasswordResetManager3

Methods

Properties

  • Property

  • Description

  • EmailVerificationEnabled

  • Gets a value that indicates whether the Email Verification feature is enabled in the password self-service policy applied to the user.

  • EmailVerificationAddresses

  • Gets the user's email addresses to send verification codes to.

Details

SendEmailVerificationCode()

Sends a verification code to the email addresses of the user for whom the password self-service session was created.

void SendEmailVerificationCode()

CheckEmailVerificationCode()

Sets an email verification code to validate during this password self-service session. For the user password to be reset, the code needs to match the one sent by the SendEmailVerificationCode method.

void CheckEmailVerificationCode(string verificationCode)

Exceptions

  • Softerra.Adaxes.Adsi.PasswordSelfService.SelfPasswordResetException
  • The provided verification code does not match the one sent by the SendEmailVerificationCode method.

EmailVerificationEnabled

Gets a value that indicates whether the Email Verification feature is enabled in the password self-service policy applied to the user.

  • Type:
  • bool
  • Access:
  • Read-only

EmailVerificationAddresses

Gets the user's email addresses to send verification codes to.

  • Type:
  • string[]
  • Access:
  • Read-only

Requirements

Minimum required version: 2013.2

See also