Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft