This commit is contained in:
2020-04-28 19:37:58 +00:00
parent 5cc547c1b3
commit 5c1e0c52d1
2 changed files with 14 additions and 16 deletions

View File

@@ -333,22 +333,6 @@ namespace AyaNova.PlugIn.V8
private async System.Threading.Tasks.Task ExportUsers(ProgressForm progress)
{
//List<string> objectExcludeProperties = new List<string>(standardExcludePropertiesList);
//objectExcludeProperties.Add("LastView");
//objectExcludeProperties.Add("LastSchedGroupID");
//objectExcludeProperties.Add("LastSchedStartDate");
//objectExcludeProperties.Add("LastSchedStopDate");
//objectExcludeProperties.Add("LastSchedView");
//objectExcludeProperties.Add("ScheduleLastGraphicalPrintSettings");
//objectExcludeProperties.Add("MainGridLastRowCount");
//objectExcludeProperties.Add("ScheduleLastViewOpenOnly");
//objectExcludeProperties.Add("IsAdministrator");
//objectExcludeProperties.Add("IsGenerator");
//objectExcludeProperties.Add("IsScheduleable");
//objectExcludeProperties.Add("IsClientOrHeadOfficeAccount");
//objectExcludeProperties.Add("IsClientAccount");
//objectExcludeProperties.Add("IsHeadOfficeAccount");
//objectExcludeProperties.Add("OrganizationTypeAndID");
UserPickList pl = UserPickList.GetList(false);
progress.Append("Dumping " + pl.Count.ToString() + " Users");
@@ -370,6 +354,8 @@ namespace AyaNova.PlugIn.V8
d.active = false;//all imported users are inactive to start
d.roles = 0;//todo: try to determine role from v7 member of group? or is that even possible?
d.login = util.RandomString();
d.password = util.RandomString();
d.employeeNumber = c.EmployeeNumber;
d.notes = c.Notes;