473,662 Members | 2,631 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User name from NT Account

I have a 2003 server serving our intranet all users must
authenticate in using basic authentication. How can I get
their User Name from our NT domain server. I can of
course get their login but can I get their name? Any
resources would be appreciated.

Mike
Jul 19 '05 #1
1 1314
ADSI.
http://www.15seconds.com/focus/ADSI.htm

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Mike D" <an*******@disc ussions.microso ft.com> wrote in message
news:29******** *************** ******@phx.gbl. ..
I have a 2003 server serving our intranet all users must
authenticate in using basic authentication. How can I get
their User Name from our NT domain server. I can of
course get their login but can I get their name? Any
resources would be appreciated.

Mike

Jul 19 '05 #2

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

Similar topics

0
1318
by: Juan Manuel G?mez Ramos | last post by:
Hello: I'm using a C# component to manage windows tasks. It allows task creation providing an account name and password. The operating system will only execute the task if the account information for the task is complete and correct (the user exists and its password is provided). It's quite easy to programmaticaly get the current user's name for the account executing the application; but, how do some applications (such as Norton System...
15
2914
by: Tom Nowak | last post by:
I am writing a webapp in which a user is required to enter a login id and password on a login form. I have forms authenticaion coded in my web.config. Once the user is logged in, I want to use the login id in other forms of the app. I will eventually save a record to a SQL database, and I want the login id to be automatically entered in a field on a form other than the login page. Help.
2
1533
by: Shaker | last post by:
On web server IIS, What is the User Name(Identity) of the webserver, that is trying to access a network directory on the local Intranet? for certain process while an ASP page is running. i.e, If you say it is IUSR_machine,... It is not. Becuase IUSR_Machine is locally defined on the Server and not part of the Dmoain user. So how Can I determin the Identity of the webserver user?
3
1777
by: Funky | last post by:
Hi, I have developed an ASP.NET application which has been running in production for around 3 months without any major glitches. Recently, a user was attempting to upload a rather large CSV file and ran into a strange problem. After roughly 3 minutes of processing, the application reprompted the user for their user name and password (NT authentication). At this point, the ASP.NET page re-fired the last event that it was processing.
4
9523
by: Joe | last post by:
This may actually be an IIS configuration issue but any help would be appreciated. I'd like to display some content based upon who the current user is that is accessing an internal ASP.NET applciation. I am using the 2.0 framework. I use the following syntax to retrieve the user name: string username = Environment.UserName; I use the 'username' variable to make comparisons and show the appropriate content based upon the user. This...
5
37005
by: mvr | last post by:
Hi all How to get the Windows current logged user name using Classic ASP. If no direct way are there any work arounds. Thanks mvr
1
6895
by: Ben Hanson | last post by:
I've scoured Google searching for an answer that seems like it should be easy but apparently isn't...when I open SSMS to connect to a SQL 2005 database and choose Windows authentication, it greys out the User Name box...problem is, the server I need to connect to is in another domain...how on earth are you supposed to specify a different Windows user name to connect with other than the one currently logged into the machine? -Ben
2
2229
LeoTD
by: LeoTD | last post by:
Dear all, I have intranet site on Linux server using PHP where only people who have account can log in. My site has a link to another intranet side on IIS using PHP. This site using Web authentication which IIS supported. I want to deploy Single Sign On between them. It means when I login in PHP site, and click link to ASP site, i will login success in ASP site pass through authentication pop up windows. I am...
1
2628
by: suckerpunchnz | last post by:
Hi there, I'm using this audit trail code (basAuditTrail module) to log changes in my database, but I'm needing it to track by the user name logged into Access not by the account logged into Windows. Does anybody know how to change this? Your help would be much appreciated. Thanks heaps. Phil. This is the code I'm using....it seems to be a common one found in forums.
0
8435
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
8345
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
8857
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...
1
8547
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4348
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.