Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MembershipProviderAdapter.ResetPassword Method

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

[Visual Basic]
Public Overrides Sub ResetPassword( _
   ByVal username As String, _
   ByVal answer As String _
) _
    Implements IMembershipProvider.ResetPassword
[C#]
public override 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.

Implements

IMembershipProvider.ResetPassword

See Also

MembershipProviderAdapter Class | Spring.Web.Providers Namespace