Forum Discussion

AnkurJarial's avatar
AnkurJarial
Copper Contributor
Mar 14, 2022

Get Display Names of User Properties in SharePoint API

I am doing a pnp Rest API to get All the user properties from SharePoint. But what I get is an array of objects. like [{"Key":"contoso" , Value: "something"}]
But in the Key The API returns the "Name" of the property.
What I am looking for is "Display Name". 
For example in the below picture you can see "Name" and that value is returned in the "Key" but 
I want to get "Display Name".

No RepliesBe the first to reply

Resources