Accounts.createUser

Anywhere

Accounts.createUser(options, [callback])

import { Accounts } from 'meteor/accounts-base' Source

Create a new user.

Arguments

callback Function

Client only, optional callback. Called with no arguments on success, or with a single Error argument on failure.

Options

username String

A unique name for this user.

email String

The user's email address.

password String

The user's password. This is not sent in plain text over the wire.

profile Object

The user's profile, typically including the name field.

doc_Meteor
2016-05-29 17:17:26
Comments
Leave a Comment

Please login to continue.