Permisions for user to access Outlook/CDO.

From: Rudolph (rpienaar@telkomsa.net)
Date: 02/09/03


From: "Rudolph" <rpienaar@telkomsa.net>
Date: Sun, 9 Feb 2003 16:05:56 +0200


Hi

I am curious as to what is the minimum privileges / permission to give a
user account to access the COM Outlook object from ASP.NET.

I tried to use the Outlook COM object to send a mail from ASP.NET. I got the
access permissions error. This was solved by specifying in the
machine.config file a different user than ASPNET. I used the administrator
user so that I have all the permissions needed.

I know this is not the best way, and my question is what is the minimum
permissions one need to give a user so that user can use the Outlook mail
object (or does one only need to create a outlook profile for that user.)

The modified machine.config file looks like this.
<!--
 <processModel enable="true" ... userName="machine" password="AutoGenerate"
.../>
 -->
 <processModel enable="true" ... userName="administrator"
password="textpassword" .../>

By the way, changing the user for asp.net to administrator as above, also
allow me to debug in a unmanaged VB 6 dll. I start the dll in VB 6
environment with a breakpoint. I could step into (jump to VB 6 IDE) the VB 6
code form ASP.NET

Regards
Rudolph


Quantcast