I'm using asp.net configuration manager and the standard login control to allow users to logon. What I'm wondering is can I find out what user is currently logged in from the business layer or do I need to pass it in from the UI?
A:
try this:
HttpContext.Current.User.Identity.IsAuthenticated
//OR you may put user into session and access it like this
HttpContext.Current.Session["user"]
TheVillageIdiot
2009-05-28 04:56:35