SharePoint REST API

Leave a comment

June 8, 2017 by Ruaan Harmzen

Had some issues before using the SharePoint REST API, well, actually using the jquery implementations. Been struggling with the basics to get user profile properties. Some methods and examples suggest you get the PeopleManager class, pass the user (which then differs from onsite to O365).

If you are just after the user profile info of the current logged in user (as I am), the REST API works great.

Example: Get all user’s properties

Solutions: http://<URL>/apps/_api/sp.userprofiles.peoplemanager/getmyproperties

AND BAM, instant JSON result with all the info

Some great examples:



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: