title: Get value from people picker
body: <p>How how can I get the value from a people picker control?</p>
  
  <pre><code> if (colListItem.get_item(User).length &gt; 1) {
                  for (var i = 0; i &lt; colListItem.get_item(User).length; i++)
    {
    //Append all User names with a semi colon separator
  
                 _User = _User + colListItem.get_item(User)[i].get_lookupValue() + ";";
                  }
                          _User.trim;
                  }
                  }
              }
  </code></pre>
  
  <p>This works if there is more than one value in the people picker control.
  But if there is only one value, I am unable to retrieve it.</p>