Protected Properties and Methods

Outlook Developer Reference

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
Account SmtpAddress
Action Execute1
AddressEntries Add, GetFirst, GetLast, GetNext, GetPrevious, Item
AddressEntry Address, ID, Manager, Members, Parent, PropertyAccessor GetExchangeDistributionList, GetExchangeUser, Update
AddressList AddressEntries, ID, PropertyAccessor
AddressLists Item
AppointmentItem Body, OptionalAttendees, Organizer, PropertyAccessor, RequiredAttendees, Resources Respond2, SaveAs, Send2
Attachment PropertyAccessor
CalendarSharing SaveAsICal
Columns Add
ContactItem Body, Email1Address, Email1AddressType, Email1DisplayName, Email1EntryID, Email2Address, Email2AddressType, Email2DisplayName, Email2EntryID, Email3Address, Email3AddressType, Email3DisplayName, Email3EntryID, IMAddress, NetMeetingAlias, PropertyAccessor, ReferredBy SaveAs
DistListItem Body, PropertyAccessor GetMember, SaveAs
DocumentItem Body, PropertyAccessor
ExchangeDistributionList Address, Alias, ID, Parent, PrimarySmtpAddress, PropertyAccessor GetExchangeDistributionList, GetExchangeUser, GetMemberOfList, GetExchangeDistributionListMembers, GetOwners, Update
ExchangeUser Address, Alias, ID, Parent, PrimarySmtpAddress, PropertyAccessor GetDirectReports, GetExchangeDistributionList, GetExchangeUser, GetExchangeUserManager, GetMemberOfList, Update
Folder GetCalendarExporter, PropertyAccessor
Inspector HTMLEditor, WordEditor
ItemProperties Any protected property for an item
JournalItem Body, ContactNames, PropertyAccessor SaveAs
MailItem Bcc, Body, Cc, HTLMBody, PropertyAccessor, ReceivedByName, ReceivedOnBehalfOfName, Recipients, ReplyRecipientNames, SenderEmailAddress, SenderEmailType, SenderName, SentOnBehalfOfName, To SaveAs, Send2
MeetingItem Body, PropertyAccessor, Recipients, SenderName SaveAs
NameSpace CurrentUser, SelectNamesDialog GetAddressEntryFromID, GetRecipientFromID
NoteItem Body, PropertyAccessor
PostItem Body, HTMLBody, PropertyAccessor, SenderName SaveAs
Recipient Any property Any method
Recipients Any property Any method
RemoteItem Body, PropertyAccessor
ReportItem Body, PropertyAccessor
SelectNamesDialog Recipients
SharingItem Bcc, Body, Cc, HTMLBody, PropertyAccessor, ReceivedByName, ReceivedOnBehalfOfName, ReplyRecipientNames, SenderEmailAddress, SenderEmailType, SenderName, SendOnBehalfOfName, To Allow, SaveAs, Send2
StorageItem Body, PropertyAccessor
Store PropertyAccessor
TaskItem Body, ContactNames, Contacts, Delegator, Owner, PropertyAccessor, StatusOnCompletionRecipients, StatusUpdateRecipients SaveAs, Send2
TaskRequestAcceptItem Body, PropertyAccessor
TaskRequestDeclineItem Body, PropertyAccessor
TaskRequestItem Body, PropertyAccessor
TaskRequestUpdateItem Body, PropertyAccessor
UserProperties Find
UserProperty Formula
Bb147572.vs_note(en-us,office.12).gif  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.