I'm working with the Member API and retrieving a specific member with; umbraco.cms.businesslogic.member.Member.GetMemberFromLoginName() which is working fine.
I now wan't to set properties on this member, but using SetProperty() tell's me it's obsolete and to use the new Services API instead.
Yeah, I found out the hard way that some of the things marked obsolete are not. Was doing a custom login, registration, etc and it said that member.Password was obsolete and that I should use member.SetPassword() instead. However, member.SetPassword() results in a plain text password being stored for the member and then Member.GetMemberFromLoginNameAndPassword() doesn't work properly.
Member SetProperty() obsolete
I'm working with the Member API and retrieving a specific member with; umbraco.cms.businesslogic.member.Member.GetMemberFromLoginName() which is working fine.
I now wan't to set properties on this member, but using SetProperty() tell's me it's obsolete and to use the new Services API instead.
Any hints or references to this "services api"?
Just stick to the method your using right now.
Think is just marked as obsolete but there is currently no new member api.
Umbraco 7.1 will get the new member api as far as I know.
Will do that, thanks :)
Yeah, I found out the hard way that some of the things marked obsolete are not. Was doing a custom login, registration, etc and it said that member.Password was obsolete and that I should use member.SetPassword() instead. However, member.SetPassword() results in a plain text password being stored for the member and then Member.GetMemberFromLoginNameAndPassword() doesn't work properly.
is working on a reply...