Copied to clipboard

Flag this post as spam?

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


  • Brynjar Þorsteinsson 1 post 22 karma points
    Aug 17, 2022 @ 15:23
    Brynjar Þorsteinsson
    1

    Get Property of a Member

    Hi,

    I am wondering what the best practice is currently for fetching the property value of an Umbraco Member. I already have the MemberIdentityUser by using GetCurrentMemberAsync() and in the backend I use the IMemberService to fetch an IMember User based on the result of that but according to the common pitfalls it is not recommended to inject Services in razor pages.

    I am just not sure what the best way to go about this is. Am I being too cautious by not just using IMemberService? What is the best practice for this?

Please Sign in or register to post replies

Write your reply to:

Draft