Security

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.

*** Sent via Developersdex http://www.developersdex.com ***
 
J

John Riddle

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.

*** Sent via Developersdex http://www.developersdex.com ***
 
Top