public void r100Implementation(System.Guid?emp_id, string emp_code, FieldValue password, string emp_fname, string emp_lname, string emp_email, int?team_id, string telephone, string created_by, DateTime?created_on, string updated_by, DateTime?updated_on, string createname, string updatename) { // This is the placeholder for method implementation. if (password != null && password.Modified) { ApplicationMembershipProvider.ValidateUserPassword(emp_code, password.NewValue.ToString()); password.NewValue = ApplicationMembershipProvider.EncodeUserPassword(password.NewValue.ToString()); } }
public void r100Implementation(System.Guid?helpDesk_ID, string personnel_no, string helpDesk_FirstName, string helpDesk_LastName, FieldValue helpDesk_AuthenPassword, string createdBy, DateTime?createdOn, string modifiedBy, DateTime?modifiedOn) { // This is the placeholder for method implementation. if (helpDesk_AuthenPassword != null && helpDesk_AuthenPassword.Modified) { ApplicationMembershipProvider.ValidateUserPassword(personnel_no, helpDesk_AuthenPassword.NewValue.ToString()); helpDesk_AuthenPassword.NewValue = ApplicationMembershipProvider.EncodeUserPassword(helpDesk_AuthenPassword.NewValue.ToString()); } }