MCPcopy Create free account
hub / github.com/parse-community/parse-server / createUser

Function createUser

spec/PointerPermissions.spec.js:1987–1996  ·  view source on GitHub ↗
(username, password = 'password')

Source from the content-addressed store, hash-verified

1985 const PERMISSION_DENIED = jasmine.stringMatching('Permission denied');
1986
1987 async function createUser(username, password = 'password') {
1988 const user = new Parse.User({
1989 username: username + Date.now(),
1990 password,
1991 });
1992
1993 await user.save();
1994
1995 return user;
1996 }
1997
1998 async function logIn(userObject) {
1999 return await Parse.User.logIn(userObject.getUsername(), 'password');

Callers 2

initializeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…