Hi everyone,

I'm trying to write a program that logs on to an exchange server by a
specific username and password. How do I do that?

1. Is there an API that allows specifying a username and password for
connection to the exchange server?
2. Do I have to create a mail profile for that user, and switch to it from
my program?
3. If so, how do I check for the presence of a specific profile, or create a
new profile from my program?