Copied to clipboard

Flag this post as spam?

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


  • Todd Gibson 2 posts 82 karma points
    Jan 05, 2024 @ 21:42
    Todd Gibson
    0

    Update Member Properties for a MemberIdentityUser Programmatically.

    I have connected IdentityServer4 to my umbraco instance. I have code that will create a member in code and that works. However, I have created a custom member type property and I would like to fill that property with one of the claims from the login. I can see the claim, I am just having a difficult time finding the right path from the MemberIdentityUser to fill the custom property with the claim value. I have found many examples in umbraco 8 and 9 but nothing in Umbraco 13.

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Jan 06, 2024 @ 13:02
    Sebastiaan Janssen
    100

    Should be the same between 9 and 13 - so try that example.

    I am not sure if you can do it on the MemberIdentityUser but surely it can be done using the MemberService.

  • Todd Gibson 2 posts 82 karma points
    Jan 08, 2024 @ 16:00
    Todd Gibson
    0

    Thanks, Sebastiaan. I worked on it over the weekend and realized that I could get to the member through that service and it worked just fine. I appreciate you.

Please Sign in or register to post replies

Write your reply to:

Draft