enter image description here" />
I'm looking for some help with a REST call I'm attempting to make in SharePoint Online. I'm doing an add-in that gives me the name, birhday and photo property of all user in user profiles I tried with this code
var siteUrl = _spPageContextInfo.siteAbsoluteUrl; Console.log(siteUrl); $.ajax(< url: siteUrl + "/_api/SP.UserProfiles.PeopleManager/GetMyProperties", method: "GET", headers: < "Accept": "application/json; odata=verbose" >, success: function (data) < console.log(data); >, error: function(error) < console.log(error); >>);
but I only get current user profile properties, what I need is all user profiles properties for all users, how can i achieve that? Thanks in advance!
Emmanuel Villegas
asked May 25, 2016 at 16:22
Emmanuel Villegas Emmanuel Villegas
497 4 4 gold badges 7 7 silver badges 25 25 bronze badges
all users of the site or on the tenant level? here is a link to a similar question sharepoint.stackexchange.com/questions/148313/…
Commented May 25, 2016 at 16:29
Is below given solutions works for you?