Copied to clipboard

Flag this post as spam?

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


  • Jonas 123 posts 206 karma points
    Dec 07, 2015 @ 12:43
    Jonas
    0

    Get "Home" path ID from BackendUser.

    Is there a way to get the Node ID for a Backend User in Umbraco?

    It´s the "Start Node in Content" ID that I am looking for.

  • Comment author was deleted

    Dec 07, 2015 @ 12:50

    The user service should allow you to get that

     var user = Services.UserService.GetByProviderKey(THEKEY);
     user.StartContentId
    
  • Jonas 123 posts 206 karma points
    Dec 09, 2015 @ 08:12
    Jonas
    1

    This did the trick aswell

    UmbracoContext.Current.Security.CurrentUser.StartContentId
    
  • 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