Copied to clipboard

Flag this post as spam?

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


  • moshesa 8 posts 29 karma points
    Jun 20, 2011 @ 21:59
    moshesa
    0

    Setting User Start Node

    Hello,
    Does anybody know how can I set the user "Start Node in Content"  / "Start Node in Media Library" using API ?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jun 21, 2011 @ 00:47
    Tom Fulton
    0

    Hi,

    Not tested but it should be something along the lines of:

    umbraco.BusinessLogic.User u = umbraco.BusinessLogic.User.GetUser(<user id>);
    u.StartNodeId = <node id>;
    u.StartMediaId = <node id>;
    u.Save();

    Hope this helps,
    Tom

Please Sign in or register to post replies

Write your reply to:

Draft