User ID from User Infomation List / People picker.
- This topic has 1 reply, 1 voice, and was last updated 7 years ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › SPJS-Utility › User ID from User Infomation List / People picker.
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
Sorry 0 Found my answer here: https://spjsblog.com/forums/topic/create-field-with-people-picker-data/