Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMembershipProvider.ResetPassword Method

Resets a user's password to a new, automatically generated password.

[Visual Basic]
Public Sub ResetPassword( _
   ByVal username As String, _
   ByVal answer As String _
)
[C#]
string ResetPassword(
   string username,
   string answer
);

Parameters

username
The user to reset the password for.
answer
The password answer for the specified user.

Return Value

The new password for the specified user.

See Also

IMembershipProvider Interface | Spring.Web.Providers Namespace