Get Current User Account Name, E-Mail using Javascript Client Object Model in SharePoint 2013
Get Current User Account Name, E-Mail in JavaScript Client Object ModelYou can use this code in Content Editor/Script editor or anywhere in SharePoint artifacts like Pages, Page Layouts, Master pages, or external JavaScript files.
Read more