static public Model.UserMassProvisioning CreateCompanyAdmin(String companyName)
        {
            Model.UserMassProvisioning result = new Model.UserMassProvisioning();
            String _companyName = companyName.Replace(" ", "").Replace("_", ""); // prevent spaces and underscore

            result.FirstName = $"CompanyAdmin_fn";
            result.LastName  = $"CompanyAdmin_ln";

            result.Email    = $"CompanyAdmin@{_companyName}.com".ToLower(); // EMAIL ADDRESS ARE ALWAYS STORED IN LOWER CASE => IT'S IMPORTANT SINCE THEY ARE USED AS DICTIONARY KEY
            result.Password = $"CompanyAdmin_0AbC!+";

            result.Id = result.Email;

            return(result);
        }
        static public Dictionary <String, Model.UserMassProvisioning> CreateStudents(String companyName, int nb)
        {
            Dictionary <String, Model.UserMassProvisioning> result = new Dictionary <String, Model.UserMassProvisioning>();
            String _companyName = companyName.Replace(" ", "").Replace("_", ""); // prevent spaces and underscore
            String id;

            for (int index = 0; index < nb; index++)
            {
                Model.UserMassProvisioning user = new Model.UserMassProvisioning();

                id = index.ToString("D8");

                user.FirstName = $"CSharpStudent_fn_{id}";
                user.LastName  = $"CSharpStudent_ln_{id}";

                user.Email    = $"CSharpStudent_{id}@{_companyName}.com".ToLower(); // EMAIL ADDRESS ARE ALWAYS STORED IN LOWER CASE => IT'S IMPORTANT SINCE THEY ARE USED AS DICTIONARY KEY
                user.Password = $"CSharpStudent_{id}AbC!+";

                user.Id = user.Email;

                result.Add(user.Id, user);
            }
            return(result);
        }
 public static void StoreUserToFile(Model.UserMassProvisioning contact, String filepath)
 {
     StoreObjectToFile(contact, filepath);
 }