Rohan
February 8th, 2000, 05:29 PM
I have some code which using MAPISession, simply logs into an exchange server using a Profile ( Name set in the MAPISession Control), and using NT Password Authentication (Set in the profile). This works fine when run by the user currently logged into the NT PC, But a requirement is that it runs as a schedule using NT's AT command which runs all schedules under the "system" user context. The email sync then fails because the "system" user has no mailbox on the exchange server. I think that once the schedule starts the app as "system" I then need to execute the remaining code under the logged in users context.
Can anyone Please give any suggestions on how to do this ?
Can anyone Please give any suggestions on how to do this ?