Beispiel #1
0
 bool IUserBase.ChangePassword(string NewPassword, DBRecordTrack dbRecordTrack, out Exception ErrorMessage)
 {
     throw new Exception("The method or operation is not implemented.");
 }
Beispiel #2
0
 /// <summary>
 /// �ı�����
 /// </summary>
 /// <param name="OldPassword"></param>
 /// <param name="NewPassword"></param>
 /// <returns></returns>
 public bool ChangePassword(string NewPassword, DBRecordTrack dbRecordTrack, out Exception ErrorMessage)
 {
     ErrorMessage = null;
     try
     {
         bool returnvalue = true;// DataProvider.DataProviderFactory.Instance.SystemUserRole.ChangePassword(userID, NewPassword, dbRecordTrack);
         if (returnvalue)
         {
             this.password = NewPassword;
         }
         return returnvalue;
     }
     catch (Exception e)
     {
         ErrorMessage = e;
         return false;
     }
 }