I'd like to use the People-Picker in my provider-hosted app, but that appears to be only available in sharepoint-hosted apps. So, I've decided to do my own with a autocomplete functionality, but I can't figure out how to search user profiles by name. I've looked at the
PeopleManager object, but that seems to only get me data for a single user at a time (and only when I've got his LoginName).
Ideally, I want to search by display name and get a list back that contains
LoginName (so that when the user selects one, I'll be able to look it up based on LoginName).
Edit: I've found this method, but this will only work if the user types in the entirety of a user's displayname, email, or log in name.