Solved

How do I get user information from MS Exchange

Posted on 2001-06-06
4
182 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
  • 3
4 Comments
 
LVL 18

Accepted Solution

by:
mgfranz earned 200 total points
Comment Utility
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
Comment Utility
0
 
LVL 18

Expert Comment

by:mgfranz
Comment Utility
0
 

Author Comment

by:lauciricad
Comment Utility
See previous comments
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now