Getting user login (Newbie help)

D

Doug

Hello all. I'm learning ASP.NET C# and I have a question about how to go
about getting the user's domain login. I need to get the login and use it to
query a database to get other information about the user.

I can use: <asp:LoginName ID="LoginName1" runat="server" />

But that just displays the login. Can I use Request.ServerVariables? It
doesn't display when using LOGON_USER.

Thanks!
Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top