How to get the user email address when using accounts-password package?

When i’m using accounts-password package for my app, I can call Meteor.userId() to get the id of logged-in user. My question is how do I get the email address of the currently Logged -in ?

Are you looking to display the information to client or to do processing with the information on the server side?

Hi, try this.
Meteor.user().emails[0].address

3 Likes

Thanks, it works the way i want it for now.