Reputation: 808
Is it possible to list all meteor users, respective passwords and all associated data using the command prompt? I've tried opening the meteor shell and ran 'Accounts.find' and 'Accounts._accountData' but neither returns what I'm looking for.
Upvotes: 0
Views: 415
Reputation: 256
From terminal via meteor shell:
meteor shell
will open meteor shell
Meteor.users.find().fetch()
will find all users and respective data
From terminal via meteor mongo:
meteor mongo
will open mongo shell
db.users.find()
will find all users and respective data in mongo
Upvotes: 5