Which two actions should you perform?

You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.
<asp:PasswordRecovery runat="server"/>
You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.
<asp:PasswordRecovery runat="server"/>
You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.
Create a valid <smtp> definition in the Web.config file.

B.
Set the passwordFormat attribute of the configured membership provider to Encrypted.

C.
Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.

D.
Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.



Leave a Reply 0

Your email address will not be published. Required fields are marked *