GnomonMembershipProviderResetPassword Method |
Resets a user's password to a new, automatically generated password.
Namespace: RMP.WebAssembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public override string ResetPassword(
string username,
string answer
)
Public Overrides Function ResetPassword (
username As String,
answer As String
) As String
public:
virtual String^ ResetPassword(
String^ username,
String^ answer
) override
abstract ResetPassword :
username : string *
answer : string -> string
override ResetPassword :
username : string *
answer : string -> string
Parameters
- username
- Type: SystemString
The user to reset the password for. - answer
- Type: SystemString
The password answer for the specified user.
Return Value
Type:
StringThe new password for the specified user.
Exceptions See Also