I’m working on Outlook 2003 AddIn using VSTO.Is there a way to Get the Mailbox Name OR NTUserName of the user.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To Get the user name logged on via outlook use Application.NameSpace.CurrentUser
To get the Mailbox Name in 2007 use Store.DisplayName Property
(Edit)
In Outlook 2003 you can get the parent of the Inbox folder and the name property should be what you want.
Marcus