Hello Shapper,
SI need to check if the current user is authenticated and get its
Sprofile.
SFor authentication checking I got the following options:
SRequest.IsAuthenticated.ToString My.User.IsAuthenticated.ToString
SUser.Identity.IsAuthenticated.ToString
SWhich one should I use?
Anyone, they are the same (u can sure it using Reflector)
SAnd how can I get the profile?
smth like
ProfileCommon pc = (ProfileCommon)context.Profile;
pc = pc.GetProfile("johndoe");
---
WBR, Michael Nemtsev [C# MVP].
My blog:
http://spaces.live.com/laflour
Team blog:
http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo