473,397 Members | 1,972 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,397 software developers and data experts.

detecting "logged in" user through IP address using ADSI or WMI

we are developing an intranet application (web based) which needs to detect
the logged in user ID of the user hitting the website. the intranet is huge
and based on win2k active directory (around 20-30 different domains) with
25K+ users. i dont want to use "NT challenge response" for this pupose.

I am exploring ways using ADSI and WMI to query the Active directory by
using the IP address in the incoming web request and trying to figure out
the user ID logged into that machine. how is it possible? can anyone give me
a clue ?

The web application is built in ASP/COM on IIS 5.0 win2k platform.

thanks,

akhlaq.
Jul 19 '05 #1
4 7358
On Wed, 17 Mar 2004 20:26:42 +0500, "Akhlaq Khan"
<ak*********@softechww.com> wrote:
we are developing an intranet application (web based) which needs to detect
the logged in user ID of the user hitting the website. the intranet is huge
and based on win2k active directory (around 20-30 different domains) with
25K+ users. i dont want to use "NT challenge response" for this pupose.

I am exploring ways using ADSI and WMI to query the Active directory by
using the IP address in the incoming web request and trying to figure out
the user ID logged into that machine. how is it possible? can anyone give me
a clue ?


Man, I was going to answer but you posted to so many irrelevant groups
it's not worth telling you to look into the WshNetwork object and the
UserName property.

Jeff
Jul 19 '05 #2
jeff,
i thought i was posting it only in relevant groups (adsi,wmi,asp,iis), i
haven't so far seen a solution to this problem after a lot of searching so i
though it might be a good idea to ask anyone who would in any way be related
to these tools/technologies. but if you or anybody feels offended in anyway,
i am sorry about that, i will be careful next time.

akhlaq.

"Jeff Cochran" <jc*************@naplesgov.com> wrote in message
news:40***************@msnews.microsoft.com...
On Wed, 17 Mar 2004 20:26:42 +0500, "Akhlaq Khan"
<ak*********@softechww.com> wrote:
we are developing an intranet application (web based) which needs to detectthe logged in user ID of the user hitting the website. the intranet is hugeand based on win2k active directory (around 20-30 different domains) with
25K+ users. i dont want to use "NT challenge response" for this pupose.

I am exploring ways using ADSI and WMI to query the Active directory by
using the IP address in the incoming web request and trying to figure out
the user ID logged into that machine. how is it possible? can anyone give mea clue ?


Man, I was going to answer but you posted to so many irrelevant groups
it's not worth telling you to look into the WshNetwork object and the
UserName property.

Jeff

Jul 19 '05 #3
This question really is not connected with IIS or ASP at all next to the
fact that you use it to execute ADSI/WMI code.

The question is really about how to figure out the user that is logged in on
a remote machine, which is more of a scripting question.

Have you checked out Script Center:
http://www.microsoft.com/technet/com...r/default.mspx

And the scripting newsgroup:
microsoft.public.windows.server.scripting

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Akhlaq Khan" <ak*********@softechww.com> wrote in message
news:e2**************@tk2msftngp13.phx.gbl...
we are developing an intranet application (web based) which needs to detect
the logged in user ID of the user hitting the website. the intranet is huge
and based on win2k active directory (around 20-30 different domains) with
25K+ users. i dont want to use "NT challenge response" for this pupose.

I am exploring ways using ADSI and WMI to query the Active directory by
using the IP address in the incoming web request and trying to figure out
the user ID logged into that machine. how is it possible? can anyone give me
a clue ?

The web application is built in ASP/COM on IIS 5.0 win2k platform.

thanks,

akhlaq.

Jul 19 '05 #4
On Thu, 18 Mar 2004 16:08:50 +0500, "Akhlaq Khan"
<ak*********@softechww.com> wrote:
i thought i was posting it only in relevant groups (adsi,wmi,asp,iis),
It's not an IIS or ASP issue, so half the groups are automatically
irrelevant. You missed the scripting group which is likely most
relevant though you were guessing that ADSI/WMI would have the answer,
which would be okay if you had posted to the best of those groups and
not the platformsdk ones.
haven't so far seen a solution to this problem after a lot of searching so i
though it might be a good idea to ask anyone who would in any way be related
to these tools/technologies. but if you or anybody feels offended in anyway,
i am sorry about that, i will be careful next time.
No big deal, you're forgiven. And do check the Technet scripting
center as well as search on the WshNetwork object.

Jeff

"Jeff Cochran" <jc*************@naplesgov.com> wrote in message
news:40***************@msnews.microsoft.com...
On Wed, 17 Mar 2004 20:26:42 +0500, "Akhlaq Khan"
<ak*********@softechww.com> wrote:
>we are developing an intranet application (web based) which needs todetect >the logged in user ID of the user hitting the website. the intranet ishuge >and based on win2k active directory (around 20-30 different domains) with
>25K+ users. i dont want to use "NT challenge response" for this pupose.
>
>I am exploring ways using ADSI and WMI to query the Active directory by
>using the IP address in the incoming web request and trying to figure out
>the user ID logged into that machine. how is it possible? can anyone giveme >a clue ?


Man, I was going to answer but you posted to so many irrelevant groups
it's not worth telling you to look into the WshNetwork object and the
UserName property.

Jeff


Jul 19 '05 #5

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

Similar topics

25
by: delerious | last post by:
I see some code examples like this: <DIV onmouseover="this.style.background='blue'"> and other code examples like this: <DIV onmouseover="javascript:this.style.background='blue'"> Which...
1
by: Lee | last post by:
Hi, Is it possible to detect whether a user is logged into a Win2000/2003 domain? I'm writing a VB.NET app and require this functionality within it. Any help would be greatly appreciated. ...
8
by: Paul T. Rong | last post by:
I used "between and " in a query as a criteria to a field called ShipDate. Very strange, in the case between 1.10.2003 and 31.10.2003, then the records from 31.10.2003 don't show up. I have to...
6
by: GSteven | last post by:
(as formerly posted to microsoft.public.access.forms with no result) I've created a continuous form which is based on a straightforward table (ex - customers - 100 records). On the form there is...
6
by: zoltix | last post by:
Hi, I would like to access to execute specific commands but the privileges are not enough from an aspx Page. Because this service run as IU_IISSERVER, therefore aspx hasn’t access to these...
5
by: Colmag | last post by:
Can somebody please help me and tell me how to include the " symbol in a string?
59
by: Rico | last post by:
Hello, I have an application that I'm converting to Access 2003 and SQL Server 2005 Express. The application uses extensive use of DAO and the SEEK method on indexes. I'm having an issue when...
1
by: Leonnhy | last post by:
HI, I'm a beginner in using MS Access. What's the code for the bring forward figure in current sales report I create as follows:- Once I click on the sales report, it will show me the date range...
4
by: fran7 | last post by:
Hi, from help in the javascript forum I found the error in some code but need help. This bit of code works perfectly, trouble is I am writing it to a javascript function so the height needs to be in...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
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...
0
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...
0
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...
0
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,...
0
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...

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.