Can SPJS-Utility be used to capture the numeric user id from the user information list based on a people picker value?
This grabs what I want for the current logged in user:
var userInfoObj = getUserInfo_v2(_spPageContextInfo.userId);
var nameid = userInfoObj.ID;
But I cannot quite work out how to get that id from a people picker value?
Thank you