Copied to clipboard

Flag this post as spam?

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


  • Mark Slade 48 posts 109 karma points
    Oct 12, 2012 @ 17:19
    Mark Slade
    0

    Getting node name from member object

    Hi, 

    I'm using the umbraco.cms.businesslogic.member namespace to get member details and generic properties.

    One thing that I can't seem to get hold of is the Node Name.

    I've tried:-

    taking the member id from the returned member object and then creating a node object from name to get the node.name property but it returns empty.

    Any clues?


  • Tom Fulton 2030 posts 4998 karma points c-trib
    Oct 12, 2012 @ 17:59
    Tom Fulton
    0

    Hi Mark,

    You should be able to use the .Text property of the Member - this should return the actual name of the node.  This is used in various places in the Umbraco API such as with Documents.

    Hope this helps,
    Tom 

Please Sign in or register to post replies

Write your reply to:

Draft