Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top