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.
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.
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.
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 theMemberService
.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.
is working on a reply...