Security

  • Thread starter Thread starter Frederico Ottoni
  • Start date Start date
F

Frederico Ottoni

Hello,

I'm using

Set mOLApp = CreateObject("Outlook.Application")
Set mNameS = mOLApp.GetNamespace("MAPI")
MsgBox "User: " & mNameS.CurrentUser.Name

to get the active user's name. But it always displays an security
message asking permission to access email addresses in Outlook. How can
I do to not appear this message?

Thanks in advance,
Ottoni.
 
What version of Outlook are you using? Is this an Exchange Organization?

John

Hello,

I'm using

Set mOLApp = CreateObject("Outlook.Application")
Set mNameS = mOLApp.GetNamespace("MAPI")
MsgBox "User: " & mNameS.CurrentUser.Name

to get the active user's name. But it always displays an security
message asking permission to access email addresses in Outlook. How can
I do to not appear this message?

Thanks in advance,
Ottoni.
 
Back
Top