-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.

1
  • 1
    Please edit this question to include the actual code you are using. – David Reed Jan 30 '20 at 21:56
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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.