getUser API - custom properties

maurabagley
New Contributor
New Contributor

If you change the label of custom property 1 on the users table, that custom label is what is returned by the getUser API.  However, you can still use customproperty1 to update the value using the updateUser API.  Is there a way to have the getUser API return customproperty1 instead of the custom label.  We have code that is already in place that uses customproperty1.  We want to change the label in the UI without have to update any code.

2 REPLIES 2

pmahalle
Valued Contributor II
Valued Contributor II

Hi @maurabagley ,

Yes it's configurable, to get customproperty instead of UI label in response of getUser API. You need to set users.readlabels=false externamconfig.properties as below:

pmahalle_1-1691083629819.png

Make sure to restart the server after above change and validate after 30 minutes.

Let me know if it helps.


Regards,

Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

dgandhi
All-Star
All-Star

Yes this can be controlled. Please follow below document for your reference:

https://docs.saviyntcloud.com/bundle/Saviynt-App-for-Microsoft-Teams-Integration-Guide-v23x/page/Con...

dgandhi_0-1691087063468.png

 

Thanks,
Devang Gandhi
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.