|
| MySQL Connector/Net |
| MySQLMembershipProvider..::..ResetPassword Method |
| MySQLMembershipProvider Class See Also Send Feedback |
|
Resets a user's password to a new, automatically generated password.
Namespace: MySql.Web.Security
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.8.4.0
Syntax
| C# |
|---|
public override string ResetPassword( string username, string answer ) |
| Visual Basic |
|---|
Public Overrides Function ResetPassword ( _ username As String, _ answer As String _ ) As String |
| Visual C++ |
|---|
public: virtual String^ ResetPassword( String^ username, String^ answer ) override |
Parameters
- username
- Type: System..::..String
The user to reset the password for.
- answer
- Type: System..::..String
The password answer for the specified user.