# Module: acounts/methods

Source:
  - accounts/methods.js, line 7

### Members

#### (static, constant) deleteAccount

Deletes the current user. Works only for the user who invoked this method!

Source:
  - accounts/methods.js, line 98

#### (static, constant) registerNewUser

Registers a new user by email+password and minimal profile fields.

Source:
  - accounts/methods.js, line 23

#### (static, constant) updateUserProfile

Updates the user profile fields

Source:
  - accounts/methods.js, line 68

##### Example

    updateUserProfile({ firstName: 'Jane', lastName: 'Doe' })