S L

S L

  • NA
  • 4
  • 633

Get Userprofile properties using a userprofileproperty value

Apr 15 2020 10:13 PM
So I use 
_api/SP.UserProfiles.PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName=%27empID%27)?@v='someaccountname'
 
This works fine for me as I have a the correct accountname, but what if I have EMPID properyName=123456 and I want to fetch other userprofile properties like EMPNAME, Is there a way to do that? I have been looking for a solution but all I get is api's with accountName only. If you would like to know the structure of my user profile
 

Answers (1)