Protected Properties and Methods
This topic lists the properties and methods in the Outlook object model that are protected by the Object Model Guard. If untrusted code performs a get on these properties or uses these methods, under default conditions for how Outlook is set up, it will invoke a security warning. The user will then have to verify and respond to the warning in order to proceed.
There are three security prompts that an untrusted application can possibly invoke, depending on the protected property or method that the application uses:
The address book warning. This is the most common of the three security prompts. Unless marked otherwise, the properties and methods in the table below generate the address book warning.
The execute action warning. Properties and methods superscripted by 1 in the table below denote that they generate the execute action warning.
The send message warning. Properties and methods superscripted by 2 in the table below denote that they generate the send message warning.
For more information on security warnings, see Outlook Object Model Security Prompts.
Object |
Protected Properties |
Protected Methods |
CurrentUser, SmtpAddress |
GetAddressEntryFromID, GetRecipientFromID |
|
Execute1 |
||
Add, GetFirst, GetLast, GetNext, GetPrevious, Item |
||
Address, ID, Manager, Members, Parent, PropertyAccessor |
GetExchangeDistributionList, GetExchangeUser, Update |
|
AddressEntries, ID, PropertyAccessor |
||
Item |
||
Body, OptionalAttendees, Organizer, PropertyAccessor, RequiredAttendees, Resources, RTFBody |
Respond2, SaveAs, Send2 |
|
PropertyAccessor |
||
SaveAsICal |
||
Add |
||
Body, Email1Address, Email1AddressType, Email1DisplayName, Email1EntryID, Email2Address, Email2AddressType, Email2DisplayName, Email2EntryID, Email3Address, Email3AddressType, Email3DisplayName, Email3EntryID, IMAddress, NetMeetingAlias, PropertyAccessor, ReferredBy, RTFBody |
SaveAs |
|
Body, PropertyAccessor, RTFBody |
GetMember, SaveAs |
|
Body, PropertyAccessor |
||
Address, Alias, ID, Parent, PrimarySmtpAddress, PropertyAccessor |
GetExchangeDistributionList, GetExchangeUser, GetMemberOfList, GetExchangeDistributionListMembers, GetOwners, Update |
|
Address, Alias, ID, Parent, PrimarySmtpAddress, PropertyAccessor |
GetDirectReports, GetExchangeDistributionList, GetExchangeUser, GetExchangeUserManager, GetMemberOfList, Update |
|
GetCalendarExporter, PropertyAccessor |
||
HTMLEditor, WordEditor |
||
Any protected property for an item |
||
Body, ContactNames, PropertyAccessor |
SaveAs |
|
Bcc, Body, Cc, HTMLBody, PropertyAccessor, ReceivedByName, ReceivedOnBehalfOfName, Recipients, ReplyRecipientNames, RTFBody, Sender, SenderEmailAddress, SenderEmailType, SenderName, SentOnBehalfOfName, To |
SaveAs, Send2 |
|
Body, PropertyAccessor, Recipients, RTFBody, SenderName |
SaveAs |
|
Body, HTMLBody, PropertyAccessor, ReceivedByName, Recipients, ReplyRecipientNames, SenderEmailAddress, SenderEmailType, SenderName, SMILBody, To |
SaveAs, Send2 |
|
CurrentUser, SelectNamesDialog |
GetAddressEntryFromID, GetRecipientFromID |
|
Body, PropertyAccessor |
||
Body, HTMLBody, PropertyAccessor, RTFBody, SenderName |
SaveAs |
|
Any property |
Any method |
|
Any property |
Any method |
|
Body, PropertyAccessor |
||
Body, PropertyAccessor |
||
Recipients |
||
Bcc, Body, Cc, HTMLBody, PropertyAccessor, ReceivedByName, ReceivedOnBehalfOfName, ReplyRecipientNames, RTFBody, SenderEmailAddress, SenderEmailType, SenderName, SendOnBehalfOfName, To |
Allow, SaveAs, Send2 |
|
Body, PropertyAccessor |
||
PropertyAccessor |
||
Body, ContactNames, Contacts, Delegator, Owner, PropertyAccessor, RTFBody, StatusOnCompletionRecipients, StatusUpdateRecipients |
SaveAs, Send2 |
|
Body, PropertyAccessor, RTFBody |
||
Body, PropertyAccessor, RTFBody |
||
Body, PropertyAccessor, RTFBody |
||
Body, PropertyAccessor, RTFBody |
||
Find |
||
Formula |
Note
UserProperties.Find is protected if the property being requested is one of the built-in properties that contains address information. If you ask for a custom property or a property like Subject that doesn’t contain address information, a prompt will not be displayed.