Any ideas on trying to find/search users by id in Sharepoint by a REST query?
At the moment I am playing around with the clientside people picker to search for users https://msdn.microsoft.com/en-us/library/office/jj713593.aspx
I can also use this endpoint to search for users by their id.
/_api/web/siteusers?$filter=substringof( '" + id + "',LoginName)
To get something like this
"Id": 2, "LoginName": "i:0#.w|domain\\id", "Title": "Generic Name", "Email": "GenericEmail@host.com",
But that only works for users that are in the siteusers and not everyone in AD.
I have also tried searching through this.
But I'm not sure exactly the data is returning since look likes it's in rows and it doesn't look like it's returning any names when looked at it in a REST console.