0

I have a column whose type is Person or Group. I'm trying to show the user or group in that column. I have managed to remove special characters using disable-output-escaping="yes". However, if the column contains a person, the user's login name is being shown, as opposed of his name. For instance, I see this DOMAIN\jdoe as opposed to John Doe

How can I show the user's name?

1

You should be able to do <xsl:value-of select="@PersonColum.title" /> to retrieve the user's display name.

  • Thank you for the prompt reply. However, using title I still see the login name. The only difference is that I don't need to include disable-output-escaping="yes" – Gonzalo May 23 '14 at 18:17
  • Is the column set to display account name instead of name? – Eric Alexander May 23 '14 at 19:31
  • I just tried this in SharePoint 2016 and it returns nothing. – Chris Odegard Nov 27 '18 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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