-
Notifications
You must be signed in to change notification settings - Fork 0
User Authentification
Abdus-Salaam Muwwakkil edited this page Aug 19, 2014
·
4 revisions
Adding Users to the App
In adding the first user, adjustments were made to the ParseApplication.Java:
`defaultACL.setPublicReadAccess(true);
ParseACL.setDefaultACL(defaultACL, true);
ParseUser user = new ParseUser();
user.setUsername("GURU");
user.setPassword("pass");
user.setEmail("[email protected]");
user.signUpInBackground(new SignUpCallback() {
public void done(ParseException e) {
if (e == null) {
// Hooray! Let them use the app now.
} else {
// Sign up didn't succeed. Look at the ParseException
// to figure out what went wrong
}
}
});
}
}`
Also please note the import com.parse.ParseUser;
For more information visit Parse User Authentication