Copied to clipboard

Flag this post as spam?

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


  • RnrGfx 3 posts 27 karma points
    Jan 31, 2014 @ 13:53
    RnrGfx
    0

    Umbraco.UserPicker Values

    Hi all,

    Working with the new Ubraco.Userpicker datatype, I'm getting the user Id when using it in razor script.

    Any suggestions to how to get the Username (and/or other details) either from the Id or as a Value from the Userpicker? 

    I'm on umbraco 7.0.2

    @inherits umbraco.MacroEngines.DynamicNodeContext

    @{
    @* returns User Id *@ @Model.AuthorPicker; }
Please Sign in or register to post replies

Write your reply to:

Draft