I'm trying to get properties privacy from UserProfileService.asmx.
Infos:
Sharepoint 2013 Office 365, Provider-Hosted App using c#
I'm global administrator
Sample code:
PropertyData[] userProperties = _userProfileService.GetUserProfileByName(loginName);
var firstNamePrivacy = userProperties[2].Privacy;
But i'm always getting privacy as "NotSet", even if it is Public or Private on my Sharepoint profile.
Anyone knows how to solve this problem?