// ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- public string GetUserDir(char param, string dnm, string unm) { string dir = ""; switch (param) { case 'U': dir = "/Zara/" + dnm + "/Users/" + unm + "/"; break; case 'R': dir = "/Zara/" + dnm + "/Users/" + unm + "/" + dnm + "/Reports/"; break; case 'E': dir = "/Zara/" + dnm + "/Users/" + unm + "/" + dnm + "/Export/"; break; case 'W': dir = "/Zara/" + dnm + "/Users/" + unm + "/Working/"; break; case 'L': dir = "/Zara/" + dnm + "/Users/" + unm + "/Library/"; break; case 'M': dir = "/Zara/" + dnm + "/Users/" + unm + "/Mail/"; break; } if (!generalUtils.FileExists(dir)) { generalUtils.CreateDir(dir, true); } return(dir); }