By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,558 Members | 1,268 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,558 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.