The official way is described in this blogpost of Aaron. However this requires some configuration. To be honest I always use the depricated Member classes, much easier and you can get the Text property also. Below some sample code from the top of my head.
Reading the properties from a MemberType of the logged in user with ASP.NET
Hi,
how can I read the properties from a MemberType of the logged in user with ASP.NET ?
Thanks in advance for your help :-)
Thorsten
HI,
The official way is described in this blogpost of Aaron. However this requires some configuration. To be honest I always use the depricated Member classes, much easier and you can get the Text property also. Below some sample code from the top of my head.
Member member = Member.GetCurrentMember();
member.GetProperty("my prop").value = "some value";
Cheers,
Richard
Thank you Richard - that was my solution !
is working on a reply...