Get the email address of the current user in Outlook 2007
I have an Outlook add in written in C#. I was wondering how or if I could get the email address of the current user? Thanks Use Namespace.CurrentUser : http://msdn.microsoft.com/en-us/library/bb220041(v=office.12).aspx Tested in VS 2010, .NET 4.0, Outlook 2010: var emailAddress = this.Application.ActiveExplorer().Session.CurrentUser.AddressEntry.GetExchangeUser().PrimarySmtpAddress; Depends on the definition of "the current user address". The address of the primary account in Outlook can be retrieved from Appication.Session.CurrentUser (returns Recipient object). Use Recipient.Address property