Re: user name in database!
- From: "David Wier" <david_wier@xxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Mar 2007 07:42:37 -0600
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.
.
- Follow-Ups:
- Re: user name in database!
- From: rcoco
- Re: user name in database!
- References:
- user name in database!
- From: rcoco
- user name in database!
- Prev by Date: Re: How to use a messagebox in asp.net
- Next by Date: Re: Code Refactor - Include Namespace in existing files
- Previous by thread: user name in database!
- Next by thread: Re: user name in database!
- Index(es):
Relevant Pages
|