User ID from User Infomation List / People picker.

Home Forums SPJS-Utility User ID from User Infomation List / People picker.

Viewing 1 reply thread
  • Author
    Posts
    • #27603
      Bryan Waldrop
      Participant

        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

      • #27612
        Bryan Waldrop
        Participant
      Viewing 1 reply thread
      • You must be logged in to reply to this topic.