?
Solved

How do I get user information from MS Exchange

Posted on 2001-06-06
4
Medium Priority
?
189 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 800 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

777 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