Re: Getting Windows-Username from IE???

From: Nico Ecke (Nico.Ecke@fb.hamburg.de)
Date: 07/09/02


From: "Nico Ecke" <Nico.Ecke@fb.hamburg.de>
Date: Tue, 9 Jul 2002 00:00:49 -0700


I still tried that and all I got was an empty string...
>-----Original Message-----
>what about
>
>User.Identity.Name
>
>? I use this to find who is logged on
>
>Nick
>
>"NicoEcke" <Nico.Ecke@fb.hamburg.de> wrote in message
>news:1624401c2267c$cdd42db0$3aef2ecf@TKMSFTNGXA09...
>> Hi there,
>> I'm doing a WebForm which needs to read the Windows-
>> Username of the calling client from the IE.
>>
>> When I tried Environment.UserName I only get "ASPNET" as
>> Username.
>>
>> I still tried around with Credentials or HttpContext and
>> ServerVariables too but all I got was the IE-Identity-
>> String (Mozilla compatible, Win NT5, etc.)
>>
>>
>> Can anybody help?
>
>
>.
>



Relevant Pages

  • Re: WSE 3.0, usernameOverTransportSecurity, custom Token Manager w/ securityTokenManager,
    ... Microsoft.Web.Services3.Security.Security security) ... throw new Exception("The username token is not present in the ... I've added the web service call directly to my Data binding method ... protected override string AuthenticateToken(UsernameToken ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: WSE 3.0, usernameOverTransportSecurity, custom Token Manager w/ securityTokenManager,
    ... Microsoft.Web.Services3.Security.Security security) ... This assertion is only valid to see whether you are receiving the username ... I've added the web service call directly to my Data binding method ... protected override string AuthenticateToken(UsernameToken token) ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: WSE 3.0, usernameOverTransportSecurity, custom Token Manager w/ securityTokenManager,
    ... Microsoft.Web.Services3.Security.Security security) ... This assertion is only valid to see whether you are receiving the username ... I've added the web service call directly to my Data binding method ... protected override string AuthenticateToken(UsernameToken token) ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Irritating INSERT INTO Error
    ... Password is a reserved word in Access 2000 SQL. ... LastName, EMail, UserName,, Address, City, State, Country) ... Public Sub AddRecord(ByVal FirstName1 As String, ... Dim oledbCmd As OledbCommand ...
    (microsoft.public.dotnet.framework.aspnet)
  • VB.net impersonation / credentials issues
    ... the fact I know that the passwords and username are correct. ... Dim x As New ListViewItem ... Private _username, _password, _domainname As String ... Public Sub New(ByVal username As String, ...
    (microsoft.public.dotnet.general)