Meteor accounts : code for beginner
What i want to share here is something that simple about Meteor accounts.<br />
install :<br />
use this command on your terminal
meteor add accounts-base
or
mrt add accounts-base
You can run this code on js file or you browser's console.<br />
Get active/logged in user id :
Meteor.userId()
Get active/logged in user :
Meteor.user()
Get active/logged in username :
Meteor.user().username
I wish this can help you. :)
Written by Yoza Wiratama
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#