Using user.Identity.Name(), you can get the username of the loged on user.
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com
"Grey" <erickwyum@dotnet.itags.org.i-cable.com> wrote in message
news:#lArIeXaEHA.2488@dotnet.itags.org.tk2msftngp13.phx.gbl...
> I have several .NET web applications in the co intranet. Currently, every
> application has its own login screen to authentication and the
> authentication is Forms Authentication with Active Directory. Now, I want
to
> by-pass the login screen but still want to use AD to have authentication.
My
> question is can I get the logged in username and password from windows and
> proceed the AD authentication when user start the application.
> Million thanks..You may also have to turn on impersonation if your using this method. This make sure users are not authenticated as the aspnet user, instead ,their network credentials are use.
"Saravana [MVP]" wrote:
> If user is there in AD, then you can use integrated windows authentication.
> Using user.Identity.Name(), you can get the username of the loged on user.
>
> --
> Saravana
> Microsoft MVP - ASP.NET
> www.extremeexperts.com
>
> "Grey" <erickwyum@.i-cable.com> wrote in message
> news:#lArIeXaEHA.2488@.tk2msftngp13.phx.gbl...
> > I have several .NET web applications in the co intranet. Currently, every
> > application has its own login screen to authentication and the
> > authentication is Forms Authentication with Active Directory. Now, I want
> to
> > by-pass the login screen but still want to use AD to have authentication.
> My
> > question is can I get the logged in username and password from windows and
> > proceed the AD authentication when user start the application.
> > Million thanks..
>
0 comments:
Post a Comment