SharePoint 2013: Add the client-side People Picker control to apps
This sample is a Visual Studio solution that contains a client-side People Picker control in a SharePoint-hosted app for SharePoint. The sample code shows how to add, initialize, and query the picker.