473,383 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

get AD Username

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 ???
Nov 18 '05 #1
5 2554
> 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.

"Sadun Sevingen" <b-saduns@ms> wrote in message
news:OH**************@tk2msftngp13.phx.gbl... 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 ???

Nov 18 '05 #2
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...

Nov 18 '05 #3
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.

"Sadun Sevingen" <b-saduns@ms> wrote in message
news:#b**************@tk2msftngp13.phx.gbl... 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...

Nov 18 '05 #4
Request.ServerVariables

thats what i was seekig for :) and i handle auth with impersonation thank
you...
Nov 18 '05 #5
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.

"Sadun Sevingen" <b-saduns@ms> wrote in message
news:#w**************@TK2MSFTNGP10.phx.gbl...
Request.ServerVariables

thats what i was seekig for :) and i handle auth with impersonation thank
you...

Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Candice | last post by:
Please somebody help! I've deleted my admin username and password which was initially set at test. Now I can't log into my website as the administrator. How do I put Username and Password back so...
11
by: Ghazan Haider | last post by:
I am posting this for the lack of a better newsgroup, and for the knowledge of people here, and because its only partially OT. We have a bunch of users with their computers at work. There are...
14
by: Brent Burkart | last post by:
I am trying to capture the Windows Authenticated username, but I want to be able to capture the login name that exists in IIS, not Windows. In order to enter my company's intranet through the...
8
by: Philip Wagenaar | last post by:
I need to send printjobs to a printqueue under diffrent usernames. The printsoftware on the queue is not very 'secure' so I can create a user on 1 system and send a printjob under it's name to the...
0
by: Sid DeLuca | last post by:
I'm modifying the WSE2 HOL sample to develop my web service. I'm able to get the client application's username token encrypted on the way out (outputTrace.webinfo), but not on receipt from the...
5
by: libra786 | last post by:
I have created a blog and have added a login box which prompts the user for login and id before posting- The username and password have been stored in the database, however when i enter the username...
0
by: roamnet | last post by:
hi i created database file with .mdf extention ,sql server as a source and use grid view to display data there're no problem in data retrieve and display,but i want to edit it or insert new...
4
nathj
by: nathj | last post by:
Hi, I'm working on a registration form and one of the checks I need to perform as the form is used is on the username. I need to ensure that it is not already in use. I am getting a little...
24
by: runway27 | last post by:
i have used the following code to validate the username it is working fineif( $username == "" || !preg_match("/^+(?:_+)?$/i", $username) ) { $error.="User name cannot be blank or has special...
2
by: shapper | last post by:
Hello, I know that only authenticated users has a UserName. In Anonymous users there is an ID. If I am not wrong when getting a profile of a user, if the user is authenticated the UserName is...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.