You can check the entries in Meteor.users on the server, for example, by registering them on the console. For example, in server.js:
Meteor.startup(function() { Meteor.publish("nothing", function() { if (this.userId) console.log(Meteor.users.findOne({_id: this.userId})); }); });
Then subscribe to this in the client:
Meteor.subscribe("nothing");
This will result in registration of the contents of the registered user to the server console (terminal window). The reason for this in the publishing method is that Meteor does not allow access to the current user outside the method, so I called it βnothingβ to indicate that it does nothing and is intended only for temporary control.
Rahul source share