Jonathan Dixon wrote:
> I have done that but it returns the name of the user logged on at the server
> not the client running the intranet on the system they are logged on at.
>
> Thanks for your continuing help
>
> Regards
>
> Jonathan Dixon
>
>
> "Andy Fish" <> wrote in message
> news:IswLc.4829$...
>
>>in internet services manager, go to web site properties, directory
>
> security,
>
>>anonymous access, and ensure that only 'integrated windows authentication'
>>is checked
>>
>>"Jonathan Dixon" <> wrote in message
>>news:%.. .
>>
>>>How exactly would i do that
>>>
>>>
>>>Thanks
>>>
>>>"Andy Fish" <> wrote in message
>>>news:_cvLc.4770$...
>>>
>>>>to do this, you need to use windows integrated authentication
>>>>
>>>>"Jonathan Dixon" <> wrote in message
>>>>news:%.. .
>>>>
>>>>>I have came accross a problem when putting it on a server it ust get
>>
>>the
>>
>>>>>servers logon name,
>>>>>
>>>>>Is there a way, it will be a intranet and users will logon with the
>>
>>user
>>
>>>>>account onto windows, the intranet web page will then appear, i want
>>
>>the
>>
>>>>>intranet web page to get the account name from the person logged on
>
> to
>
>>>the
>>>
>>>>>computer in the asp.net page.
>>>>>
>>>>>
>>>>>I hope that is clear i am not sure how to phrase it so
>>>>>
>>>>>
>>>>>if i logon as
>>>>>
>>>>>Jonathan
>>>>>
>>>>>the asp.net webpage would get Jonathan
>>>>>
>>>>>
>>>>>at the same time a colleague logs on to windows as andrew, the
>>
>>intranet
>>
>>>>web
>>>>
>>>>>page loads up and get his username which is andrew.
>>>>>
>>>>>Any idea how to do this.
>>>>>
>>>>>Regards
>>>>>
>>>>>Jonathan Dixon
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>
>
Hello,
Add the following to the AUTHENTICATION of web.config
<authentication mode="Windows" />
Chiefdnd
|