get AD Username

  • Thread starter Thread starter Sadun Sevingen
  • Start date Start date
S

Sadun Sevingen

hi i want to run my scripts wih anonymous access IUSR account

but i want to learn incoming users AD username like DOMAIN/SADUN


ALSO what are the predefined object of ASP.NET ???
 
hi i want to run my scripts wih anonymous access IUSR account
but i want to learn incoming users AD username like DOMAIN/SADUN

You want 2 contradictory things: 1. Anonymous access, and 2. Login
information. If anonymous access is allowed, all users are logged in as
anonymous, meaning, no Login information is supplied by the client.
ALSO what are the predefined object of ASP.NET ???

If I understand you correctly, the entire .Net Common Language Runtime
Library. The number of classes is in the thousands..

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
not just alll :)

i'm seeking for user attributes like browser version etc... which received
by iis...
i used to write php so it take times to get used to oo asp.net..

Then if i use windowauth should user enter domain/username & password ?? i
don't want him to cause...

thanks for help...
 
Hi Sadun,
i'm seeking for user attributes like browser version etc... which received
by iis...

While User Authentication information is indeed passed to the server along
with the other headers, such as the ones you've mentioned, if the user is
logged in anonymously, again, that information is not useful (it doesn't
identify the user - hence "anonymous"), and ASP.Net simply reports the
logged in user as blank.
Then if i use windowauth should user enter domain/username & password ?? i
don't want him to cause...

You can't have it both ways. Either the user authenticates him/herself
(voluntarily) against the domain, or he/she does not.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Request.ServerVariables

thats what i was seekig for :) and i handle auth with impersonation thank
you...
 
Afraid not. Request.ServerVariables only contains the information sent in
the headers by the browser, which, if the user logs on anonymously, is NOT
going to have any userful login information in it. And impersonation is
strictly for your server-side apps, NOT your client browsers. Impersonation
is used by an application to impersonate a domain user account.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top