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 Answer 1

1

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

3
  • 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, 2014 at 18:17
  • Is the column set to display account name instead of name? May 23, 2014 at 19:31
  • I just tried this in SharePoint 2016 and it returns nothing. Nov 27, 2018 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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