hi,
how to set the privacy in User Profile Properties using REST API.Please find below the image.
I want to set the Everyone and only me permission pro-grammatically using REST API.Please suggest me the way to achieve this in My Site
While i retrieve the user profile properties ,it will be visible based on the permission which we given programmatically