M
mike
When accessing other peoples calendar i get a security warning.
I hink that redemption can help me out, but i cant find the methods
for it.
Posting my code (C#)
private OfficeApplication m_Application = null;
private NameSpace m_NameSpace = null;
m_Application = OutlookApplication.Create();
if (m_Application == null)
{
return false;
}
m_NameSpace = m_Application.Session;
Recipient olRecipientToOpen = null;
olRecipientToOpen = m_NameSpace.GetRecipientFromID( CalendarId );
m_NameSpace.GetSharedDefaultFolder(olRecipientToOpen ,
OlDefaultFolders.olFolderCalendar);
It is the "GetRecipientFromID" that causes the security issue.
I dont know the name of the MailBox only the CalendarID.
Thanks in advance
//Mike
I hink that redemption can help me out, but i cant find the methods
for it.
Posting my code (C#)
private OfficeApplication m_Application = null;
private NameSpace m_NameSpace = null;
m_Application = OutlookApplication.Create();
if (m_Application == null)
{
return false;
}
m_NameSpace = m_Application.Session;
Recipient olRecipientToOpen = null;
olRecipientToOpen = m_NameSpace.GetRecipientFromID( CalendarId );
m_NameSpace.GetSharedDefaultFolder(olRecipientToOpen ,
OlDefaultFolders.olFolderCalendar);
It is the "GetRecipientFromID" that causes the security issue.
I dont know the name of the MailBox only the CalendarID.
Thanks in advance
//Mike