D
dedejavu
Hi Outlook experts,
I am trying to get the current user's exchange folder.
I know that a user can view other user's folders so I want to avoid
those. I can find the folder I want using
objNameSpace.folders.Item("MailBox - " & objNameSpace.CurrentUser)
but I get the security prompt from CurrentUser.
SafeCurrentUser gives me a different name variation than CurrentUser so
I can't use it to find the folder. CurrentUser ='LastName FirstName
(EmailID)' SafeCurrentUser.name ='FirstName LastName'
I can't just loop through the folders to look for a folder starting
with "MailBox" because there might be several.
Any suggestions would be so appreciated.
Thanks
Pachydermitis
I am trying to get the current user's exchange folder.
I know that a user can view other user's folders so I want to avoid
those. I can find the folder I want using
objNameSpace.folders.Item("MailBox - " & objNameSpace.CurrentUser)
but I get the security prompt from CurrentUser.
SafeCurrentUser gives me a different name variation than CurrentUser so
I can't use it to find the folder. CurrentUser ='LastName FirstName
(EmailID)' SafeCurrentUser.name ='FirstName LastName'
I can't just loop through the folders to look for a folder starting
with "MailBox" because there might be several.
Any suggestions would be so appreciated.
Thanks
Pachydermitis