Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logon to another users Outlook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00704470
Message ID:
00704852
Vues:
21
Wow, this is news to me. I thought you had to have Editor permissions in each user's outlook profile for the calendar and task list to do this.

Tracy

>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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform