ResetPassword() public method

public ResetPassword ( string newPassword ) : void
newPassword string
return void
 string GetNewPasswordFor(User user)
 {
     var newPassword = Guid.NewGuid().ToString().Substring(0, 5);
     var hashedPassword = this.formsAuthenticationService.HashAndSalt(user.UserName, newPassword);
     user.ResetPassword(hashedPassword);
     return newPassword;
 }