Dear Experts,
How can we get user profile based on Display Name (regardless of its sequence of surname and first name)?
Fail to get user profile if the sequence (Surname and First Name) is swapped:
Hi @JAWL
I would suggest you search for only one word (first name or surname), and then, for each of the results, compare with FirstName or Surname columns (but we should know the order, if not, we may get incorrect results):
Hope it helps!
Ferran