brettdonkey
New Member
I have a MVVM Silverlight RIA business application with a small subsection of .net webforms that will be ran on a PDA.. The Silverlight application uses Windows Authentication so that on each page I can call an AuthenticationDomainService to get the logged in user like this...\[code\] LoadOperation loadUserOp = authContext.Load(authContext.GetUserQuery()); loadUserOp.Completed += new EventHandler(loadUserOp_Completed); void loadUserOp_Completed(object sender, EventArgs e) { try { User user = authContext.Users.First(); CurrentUserLogin = user.Name; } catch { } }\[/code\]I need a way so that I can login via windows authentication in the Codebehind of the asp.net login page for the PDA and then get access to the authContext from inside those asp.net code behind pages. Thoughts?