1

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.

  • 1
    https://sharepoint.stackexchange.com/questions/180989/sharepoint-online-rest-get-users-profile-properties – SynozeN Technologies May 09 '17 at 06:53
  • 1
    You will get it from my own answer here...https://sharepoint.stackexchange.com/questions/180989/sharepoint-online-rest-get-users-profile-properties – Hardik May 09 '17 at 07:00

1 Answers1

3

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.