How to get name of currently opened Outlook(2003) profile

  • Thread starter Stop method of Sync object is not workin
  • Start date
S

Stop method of Sync object is not workin

Hi All,

Can any one suggest how to get currently opened outlook profile
programatically . I am using Outlook 2003.

Please suggest any solution other than redemption.

Thanks in advance.
 
N

neo

The best you could do is use the namespace.currentuser property to get the
name of the user currently logged on. Outlook 2007's object model exposes
the name of the Outlook profile.

The only other thing I can think of is to enumerate the registry for Outlook
profile names.

"Stop method of Sync object is not workin"
 
S

Stop method of Sync object is not workin

how can I gett current profile name using Office 11.0 object library.

Thnaks in advance
 
N

neo

As I mentioned before, the name of the Outlook profile is not exposed in the
Outlook 2003 object model. Outlook 2007 is the first version that exposes
the name of the Outlook profile.

"Stop method of Sync object is not workin"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top