I am building a JavaScript web part that queries a SharePoint list and generates a report based on the list data. I want to be able to get the user ID for a given user by their name or email.
input - User Name: "jdoe" output - User ID: 12
Can this be accomplished using JavaScript? If so, can anyone provide a link to where I can read about how to do so?
Thank you