-2

I get the return values as

<\a href="0054F000002TICN" target="_blank">Abhishek Mendon<\/a>

when I use UserInfo.getUserId() to set the a user id for another object.

Kris Goncalves
  • 22,133
  • 8
  • 33
  • 68

1 Answers1

3

Any ID that begins with 005 is a user ID. It can be either 15 or 18 characters in length (see this answer for the differences between them). Whatever is going on with your problem, this isn't it; the ID is certainly valid.

sfdcfox
  • 489,769
  • 21
  • 458
  • 806