Copied to clipboard

Flag this post as spam?

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


  • athenasumit 14 posts 65 karma points
    16 days ago
    athenasumit
    0

    How to get details of user picked from user picker?

    I have created a document type containg user picker. I am able to fetch content from Content Management API but I am only getting user ID. How to get details of user picked from user picker like email and name?

  • Dan Diplo 1540 posts 6087 karma points MVP 4x c-trib
    1 week ago
    Dan Diplo
    0

    I'm not familiar with Heartcore, but the membership functions hang off the UmbracoHelper and can be accessed like this:

    var member = Umbraco.Member(123); // where 123 is your ID
    
    if (member != null)
    {
        var name = member.Name;    
        var email = member.Value<string>("email");
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft