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
    1 week ago
    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 410 posts 2504 karma points MVP c-trib
    1 week ago
    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.

Please Sign in or register to post replies

Write your reply to: