Marc

Marc

  • NA
  • 205
  • 54.1k

Change password

Sep 29 2014 12:12 PM

I have a procedure that I can call and allow the user to change the password.  The problem is that I am not calling it correctly and its telling me that the method or operation is not implemented. 


Stored Procedure:
public
void ChangePassword(string userId, string strOldPassword, string strNewPassword)
{
         //Process
}
 
My Application:
 
 
                bool returnValue = user.ChangePassword();
                if (returnValue == true)
                {
                         //do something here
                }
 
The process returns a bool, which is why I though I could set its value as true in the if statement. I am trying to pull off the local userID and passwords and not change the default ID and password. 
 
Thanks!
 
 
 

Answers (4)