Solved

How do I get user information from MS Exchange

Posted on 2001-06-06
4
184 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can i convert a Generic list to DataTable in c# 3 987
Syntax Help on SP 4 57
UTC (timezone) without using an API 16 46
Choose the older file FSO 6 47
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…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

815 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

13 Experts available now in Live!

Get 1:1 Help Now