Monday 10 March 2014

SharePoint 2013: Get UserProfile Properties with REST API

SharePoint 2013: Get User Profile Properties with REST API

Get the current user's properties using REST

http://<siteUri>/_api/SP.UserProfiles.PeopleManager/GetMyProperties


To View this in browser(InternetExplorer)

create a sharepoint site



Go to Tools-> Internet Options


Click on Content tab


Click on Settings

Uncheck "Turn on feed reading view"

click ok

Close the current browser(IE)

reopen the browser

and type the URL

Get all properties of current user


You can see the current user properties



Get single property of current user

To Display the AccountName of current user




Get Multiple Properties of  current user




Get all properties of Specific User





2 comments:

  1. I merely have to advise you in which I’m really novice to blogging and very much valued your work.
    sharepoint 2013 online training

    ReplyDelete
  2. Is it possible to get Multiple User Profiles in single request

    ReplyDelete