Copied to clipboard

Flag this post as spam?

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


  • Ian Black 54 posts 230 karma points
    Nov 08, 2013 @ 13:06
    Ian Black
    0

    Get Member who created Node

    I'd like to get the Member who created a Node and I thought I would be able to do this by using:

    Member member = new Member(Model.CreatorID);
    

    However, CreatorID is just returning 0. I've checked in the datbase and inside the XML CreatorID is always just being stored as 0.

    I can't seem to find any information on this - is it a bug? Is there an alternative method to find the member who created a node?

    Thanks, Ian.

  • Marcio Goularte 389 posts 1362 karma points
    Nov 08, 2013 @ 13:26
    Marcio Goularte
    100

    The property CreatorId  is related to the user back-office and not to the member. A member may not create a node. To make a relationship with one member, use the Data type Member picker.http://our.umbraco.org/documentation/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors/Member-Picker

  • Ian Black 54 posts 230 karma points
    Nov 08, 2013 @ 13:29
    Ian Black
    0

    Aaah, of course it is!

    Thanks for your help!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies