0

How to check the default Meteor Users list in Meteor*

I am using the {{loginButtons}} Default Meteor LoginTemplate.

It works successfully but where can I check Registered Users List.

I'm not familiar with Meteor, so please suggest me how to do this

1 Answer 1

2

Please have a look at the documentation.

Meteor.users

A Meteor.Collection containing user documents.

This collection contains one document per registered user.

To return a cursor to the collection of registered users you can use collection.find:

Meteor.users.find()

To return an array (since you are asking for a "list") containing all registered users you can use cursor.fetch:

Meteor.users.find().fetch()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.