/// <summary> /// Creates Test Users. No error occurs if these Test Users already exist, /// </summary> private static void CreateTestUsers() { const int NUMBEROFTESTUSERS = 40; int UsersCreated = 0; Console.WriteLine("Setting up " + NUMBEROFTESTUSERS.ToString() + " Test Users (if necessary)..."); for (int Counter = 0; Counter < NUMBEROFTESTUSERS; Counter++) { if (TRemote.AddUser("TESTUSER" + Counter.ToString(), "test")) { UsersCreated++; } } Console.WriteLine("Finished setting up Test Users (" + UsersCreated.ToString() + " users created.)"); }
private static void AddUser(IServerAdminInterface TRemote, string AUserId) { TRemote.AddUser(AUserId); }
private static void AddUser(IServerAdminInterface TRemote, string AUserId) { TRemote.AddUser(AUserId); }