473,799 Members | 3,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2575
> 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******** ******@tk2msftn gp13.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******** ******@tk2msftn gp13.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.ServerV ariables

thats what i was seekig for :) and i handle auth with impersonation thank
you...
Nov 18 '05 #5
Afraid not. Request.ServerV ariables 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******** ******@TK2MSFTN GP10.phx.gbl...
Request.ServerV ariables

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
2799
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 that I can set my own password and username again, log in to my website and edit it. Which file do I have to edit, and where do I re-set the Username and Password? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system...
11
4879
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 reports that the users need, which could be in html, php, asp, jsp, whatever. Now I am trying to eliminate the login window entirely. In an html request, the client (firefox, ie, etc) sends the clients hostname, IP, a bunch of other stuff, but...
14
2553
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 internet, they have to login. I want to be able to capture that login versus their Windows login because I need to know who they are from any computer rather than only their computer. Any ideas? Thanks
8
6751
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 printqueue. This is why I created a program that picks the username out for the .PRN file, creates a local user, copies the PRN file the network printer and deletes the user. I cannot get it to work. I tried first copying a normal text file...
0
1891
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 server (inputTrace.webinfo). The HOL manual mentions adding the wse:UsernameToken() to the policyCache.config on the client, but not on the server. I have tried adding this to the <confidentiality> section on the server but it still shows the...
5
3780
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 and pasword it does not seem to compare the values entered with anything. It jus keeps giving the prompt box to enter details. But if i click cancel, then it tels me the incorrect credentials ave been entered i have tried many ways to solve this...
0
8334
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 records there is an error "Incorrect syntax near '-'. Must declare the scalar variable "@UserName". I worked out in design view,code is automatically generated.Iam not able fix the error. Iam working with Visual Web Developer-2005 Express Edition
4
2032
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 stuck. Here's the code involved (sorry there's quite a bit) and then I'll explain the problem. HTML (relevant sample) <div class="row"> <span class="label" id="usernamelabel"> <span class="warninglabel">Username:</span> </span>
24
2992
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 characters"; } it does not accept UNDERSCORE at the beginning or end however while i was testing with different special characters except for # the validation works fine for all other special characters. for example if i enter the user name as =...
2
4699
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 used. If it is anonymous it is used its ID that is also stored on a cookie. What is the correct way to get the UserName or Anonymous user ID of
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10490
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10260
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4146
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.