Repository navigation
Expand file tree
/
Copy pathfoo
More file actions
49 lines (46 loc) · 1.32 KB
/
Copy pathfoo
File metadata and controls
49 lines (46 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
var emails = ['jillers21+00@gmail.com',
'jillers21+01@gmail.com',
'jillers21+02@gmail.com',
'jillers21+03@gmail.com',
'jillers21+04@gmail.com',
'jillers21+05@gmail.com',
'jillers21+06@gmail.com',
'jillers21+07@gmail.com',
'jillers21+08@gmail.com',
'jillers21+09@gmail.com',
'jillers21+010@gmail.com',
'jillers21+011@gmail.com',
'jillers21+012@gmail.com',
'jillers21+013@gmail.com',
'jillers21+014@gmail.com',
'jillers21+015@gmail.com',
'jillers21+016@gmail.com',
'jillers21+017@gmail.com',
'jillers21+018@gmail.com',
'jillers21+019@gmail.com'];
var tmpl = {
"_id" : ObjectId("53f2a2b6e4b085a0f451910a"),
"_class" : "com.pixolut.mrb.bi.models.User",
"fn" : "Rominder",
"ln" : "Dodd",
"email" : "rominder.dodd@macquarie.com",
"accids" : [ ],
"perms" : {
},
"locks" : {
},
"priv" : "MRB_ADMIN",
"lastlogin" : ISODate("2014-10-09T03:20:33.572Z"),
"role" : "other",
"active" : true,
"version" : NumberLong(211),
"_modified" : ISODate("2014-10-09T03:20:33.573Z")
};
for(var i = 0; i < emails.length; ++i) {
var email = emails[i];
tmpl._id = new ObjectId();
tmpl.email = email;
tmpl.fn = "testuser" + i;
tmpl.ln = "macquarie";
db.user.save(tmpl);
}