Copied to clipboard

Flag this post as spam?

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

  • Jeroen Mink 12 posts 51 karma points
    Jul 10, 2019 @ 08:52
    Jeroen Mink

    Access to MembershipHelper

    How do i get access to the MembershipHelper in Umbraco 8? I want to get the member back as IPublishedContent so i can use the strongly typed models from the ModelsBuilder. Or is there another way to get an IPublishedContent version of a IMember (via MemberService)?

  • Søren Kottal 618 posts 3965 karma points MVP 4x c-trib
    Jul 10, 2019 @ 21:09
    Søren Kottal

    Hi Jeroen

    On the UmbracoHelper there is a method called Member() that returns a member as IPublishedContent.

    Also on the UmbracoHelper is the MembershipHelper, from which you can GetCurrentMember() as IPublishedContent.

  • Jay 368 posts 563 karma points
    Nov 14, 2019 @ 11:50

    Hey Soren,

    When we're doing the Component (inheriting from IComponent)

    Do you know if there's a way of getting the MembershipHelper() ?


Please Sign in or register to post replies

Write your reply to: