Re: user name in database!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Check out Scott Guthrie's article here:
http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx

--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com



"rcoco" <nclauder@xxxxxxxx> wrote in message
news:1174570313.706525.300100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I'm wondering how to do this, I'm working on the on a datagrid and I'm
using windows authentication. I managed to get username on to a login
form, but I want it to be stored into the database.The code of web
config looks like:
authentication mode="Windows"
identity impersonate="true"
And the Login page looks like on(Page_load):
Response.Write(Page.User.Identity.Name);
Thanks.



.



Relevant Pages

  • user name in database!
    ... I'm wondering how to do this, I'm working on the on a datagrid and I'm ... using windows authentication. ... I managed to get username on to a login ... And the Login page looks like on: ...
    (microsoft.public.dotnet.framework.aspnet)
  • ASP.Net Windows Authentication problem = Login dialog keeps popping up
    ... I'm using Windows Authentication in my C# ASP.Net intranet ... I have a "Delete" column in a DataGrid which I only want ... and cannot seem to get the login dialog to only appear once for them. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Credentials not being passed with remote access
    ... allowed windows authentication to work, ... I had assumed johnx was a domain user rather than a local Windows account. ... johnx was set up as a local login on sql server. ...
    (microsoft.public.sqlserver.security)
  • Re: ASP 2.0, C#, LDAP Login, and Forms impersonation?
    ... Or, I could just start over with a windows authentication login, and after ... FormsAuthenticationTicket fat = fi.Ticket; ... I do not set any dwFlags. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Best approach for authenticating users for various departments in ASP.Net
    ... well you could use windows authentication to do user authentication. ... they get to the login page.) ... a string ... > where the first "0" meant they didn't have permission to department 1, ...
    (microsoft.public.dotnet.framework.aspnet)