I just noticed that the old function umbraco.cms.businesslogic.member.Member.MakeNew() is obsolete and that I have to use the Membership.CreateUser() instead.
So I'm a bit confused. How do i assign the umbraco MemberType to the MemberShipUser, and how do I assign properties like to the umbraco Member.
MembershipUser member = Membership.GetUser(loginName);
if(member == null)
member = Membership.CreateUser(loginName, GeneratePassword());
If I create a MemberShipUser like above, how do I continue with prperties etc.
Working with members in umbraco 4.5
Hi
I just noticed that the old function umbraco.cms.businesslogic.member.Member.MakeNew() is obsolete and that I have to use the Membership.CreateUser() instead.
So I'm a bit confused. How do i assign the umbraco MemberType to the MemberShipUser, and how do I assign properties like to the umbraco Member.
MembershipUser member = Membership.GetUser(loginName); if(member == null) member = Membership.CreateUser(loginName, GeneratePassword());
If I create a MemberShipUser like above, how do I continue with prperties etc.
Best regards
- Sune
Sorry about the double post.
Tried to delete this thread, but it wont go away :P
- Sune
is working on a reply...