Retrieving list of all registered users


#1

I have published the collection on the server side like this:

Meteor.publish('QCF_Users', function(){
	return Meteor.users.find({});
})

On the client:

Meteor.subscribe('QCF_Users');

However:

QCF_Users.find({})

on the client results on this error

ReferenceError: QCF_Users is not defined

BTW, autopublish and insecure has already been removed.


#2

You need to do

Meteor.users.find();

to get all the users. QFC_Users is only the name of the publication.