SharePoint 2013: Get User Profile 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




No comments:

Post a Comment