If you are ONLY using Integrated Windows Authentication, you should be able to use this in code.

User.Identity.Name

to get the LoginName.

--Michael


"Jeetu V via .NET 247" <anonymous@dotnet247.com> wrote in message news:%237xMoS1mEHA.2708@TK2MSFTNGP10.phx.gbl...
Hi All,
I want to allow user to my website without asking userid and password, who has logged on to network domain(XYZ) with userid(temp) and password(pwd). But I don't know how to get the current network userid from windows(active directory) and validate to my SQL database, where I need to keep all the network userid. This is intranet application. If any one of you know the sample code using VB.NET please let me know.
Thanks for the help.
--------------------------------
From: Jeetu V

-----------------------
Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])

<Id>+o/conM4zE+tlXht/3EubA==</Id>