No, the Outlook object model contains no information on user mail profiles.
It might help if you explained just what information you're trying to store.

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Hi,
>
[quoted text clipped - 7 lines]
>
> Any ideas ??
W Akthar - 05 Jan 2005 16:59 GMT
I need to get hold of the outlook user name.
Outlook.Application olApp;
Outlook._NameSpace olNS = null;
olApp = (Outlook.Application)applicationObject;
olNS = olApp.GetNamespace("MAPI");
if (olNS != null)
{
string currentUser = olNS.CurrentUser.Name;
}
Is this correct??
>-----Original Message-----
>No, the Outlook object model contains no information on user mail profiles.
[quoted text clipped - 13 lines]
>
>.
Sue Mosher [MVP-Outlook] - 05 Jan 2005 18:33 GMT
Yes, but (a) that will trigger security prompts in many Outlook application
environments and (b) you may get unexpected results if the user has multiple
accounts or only POP/IMAP accounts. If you want the name on the Exchange
mailbox, walk up the folders hierarchy from the Inbox using the
Namespace.GetDefaultFolder method then the MAPIFolder.Parent object
property.

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
>I need to get hold of the outlook user name.
>
[quoted text clipped - 32 lines]
>>
>>.