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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top