Not much to go on from your message but here is some code and config
file samples of a site that does work the way you intend.

<code snippet/>
private void Page_Load(object sender, System.EventArgs e)
{
        UserId.Text = Page.User.Identity.Name.ToString();
}

<web.config snippet/>
<authentication mode="Windows" />
<identity impersonate="true" />

Also the site is set up for Windows Integrated security only.  I turned
off Anonymous.



-----Original Message-----
From: The DOTNET list will be retired 7/1/02
[mailto:[EMAIL PROTECTED]] On Behalf Of george antony
Sent: Monday, June 03, 2002 10:47 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] windows authentication in .Net

Hi all
 In my ASP.Net application i am using windows
authenticated security . when i run my application my
NtLoginId appears..When I run the same url from other
people computer instead of their NtLoginId only My
NtloginId appears..

when others access my url they should see their
NtloginId instead of mine..
can any one tell me the soluion for this...


regards
gan

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to