Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thomas Kahn 602 posts 506 karma points
    Sep 25, 2009 @ 11:02
    Thomas Kahn
    0

    Displaying user (writer) data on page using XSLT?

    Hi!

    I would like to display user data on my page. With user data I mean information about the user that was logged into umbraco and created the page. I have already found the fields @writerID and @writerName. Can I display more data, like the email address using XSLT?

    Thanks in advance!

    /Thomas

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Sep 25, 2009 @ 11:06
    Douglas Robar
    1

    No, that information isn't in the xml so you can't get it that way. I don't know of an umbraco.library call in the umbraco xslt extension that would do it either (though maybe there's one I've overlooked... I've never tried to do this particular task). I think you would need some in-line c# or an xslt extension to get the data through the api unless someone knows of another approach.

    cheers,
    doug.

  • Thomas Kahn 602 posts 506 karma points
    Sep 26, 2009 @ 19:23
    Thomas Kahn
    0

    Thanks Doug!

    Since there is no known way of getting access to this data, I guess there's been no real demand for it in the past(?) In my particular case it's more of a "nice to have" than a "need to have" request so I won't go through the trouble of writing custom c# code just to get it.

    /Thomas

Please Sign in or register to post replies

Write your reply to:

Draft