Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logon to another users Outlook
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Logon to another users Outlook
Miscellaneous
Thread ID:
00704470
Message ID:
00704470
Views:
64
I am writing an application that will interface a "task list/calendar" application to an Exchange/Outlook 2000.

The application will need to logon to each individual user and then add or modify an event in their calendar.

I have the updating piece working on my own folders, but I am unable to login to other users folders.

I have gone into the Active Directory and granted myself Send Permission for the individual users, but I am still getting a permission error message.

Has anyone done this and can help me out?

My login code is as follows:

oOutLookObject = CreateObject("Outlook.Application")
oNameSpace=oOutlookObject.GetNameSpace("MAPI")
oNameSpace.Logon("Jacob", "password", .F.)
oTaskFolder=oNameSpace.GetDefaultFolder(olFolderTasks)

Get permission error message on previous line.

TIA
-Mark
Next
Reply
Map
View

Click here to load this message in the networking platform