Can I get SharePoint Online user information by user's FirstName and LastName using REST API?
Question
I am having 2 Single Line Of Text column for FirstName and LastName.
Now I want to get SharePoint Online users with given FirstName and LastName.
Is it possible using JavaScript REST API?
Any suggestion welcomed.
Solution
As per comments by InnovaITve Solutions and Hardik, I got solution.
Here is source
What I did is, I used following URL to make my REST Call
SiteUrl/_vti_bin/ListData.svc/UserInformationList?$filter = ((FirstName eq 'MyFirstName') and (LastName eq 'MyLastName'))
It returned me all the information I need.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange