ConfirmPassword Property
Collapse the table of content
Expand the table of content

CreateUserWizard.ConfirmPassword Property


Gets the second password entered by the user.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public virtual string ConfirmPassword { get; }

Property Value

Type: System.String

The second password entered by the user. The default value is an empty string ("").

The ConfirmPassword property contains the second password (the confirmation password) entered by the user. By default, a CompareValidator object is provided for the Password and ConfirmPassword text box values. Each text box displayed on the CreateUserWizard control also has a RequiredFieldValidator associated with it.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft