title: Displaying all users in Meteor
body: <p>I have a template that I am trying to display all users in called userList.  </p>
  
  <p>//server</p>
  
  <pre><code>Meteor.publish("userList", function() {
  
  var user = Meteor.users.findOne({
      _id: this.userId
  });
  
  
  if (Roles.userIsInRole(user, ["admin"])) {
      return Meteor.users.find({}, {
          fields: {
              profile_name: 1,
              emails: 1,
              roles: 1
          }
      });
  }
  
  this.stop();
  return;
  });
  </code></pre>
  
  <p>Thanks in advance for the help!</p>