Solved

How do I get user information from MS Exchange

Posted on 2001-06-06
4
188 Views
Last Modified: 2006-11-17
I am developing a ASP/Intranet help-desk application.  I would like to pull information directly from the MS Exchange database of current system users.

I have seen code from various web sites but do not understand all of the requirements.  I also do not know exactly which servers the code page must reside to retrieve the information (exchange object).

I have tried the code below to determine the current user logged to a workstation, and then retrieve and object from MS Exchange with user information.

 'get the user logon name
 authUser = Request.ServerVariables("AUTH_USER")
 'the server variable will be in the following format: DOMAIN\logon
 'so we have to remove the MCDOMAIN1\ part
 logonName = Right(authUser, Len(authUser) - 10)
 
 'get the user's object
 Set user = GetObject("WinNT://ABCXYZ.org/" & logonName)

The code above worked on another system, I was associated with.  Are there any sources on this topic, or do you have a specific code solution?

Technical Info.  Windows NT 4.0 & 5.0, Client for MS Networks, MS Exchange (TCP-IP), User Mail serviced by Outlook 98/2000.  System is fire-walled.
0
Comment
Question by:lauciricad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 18

Accepted Solution

by:
mgfranz earned 200 total points
ID: 6160573
Are you running Exchange 2000?  Do you have Outlook Web Access installed?  If so, that is all you need to get info from the .edb file.
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6161480
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 6161486
0
 

Author Comment

by:lauciricad
ID: 6191804
See previous comments
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question