2.2.4.2 t:UserOofSettings Complex Type

The UserOofSetting complex type specifies the OOF settings.

 <xs:complexType name="UserOofSettings">
   <xs:sequence>
     <xs:element minOccurs="1" maxOccurs="1" name="OofState" type="t:OofState" />
     <xs:element minOccurs="1" maxOccurs="1" name="ExternalAudience" type="t:ExternalAudience"/>
     <xs:element minOccurs="0" maxOccurs="1" name="Duration" type="t:Duration" />
     <xs:element minOccurs="0" maxOccurs="1" name="InternalReply" type="t:ReplyBody" />
     <xs:element minOccurs="0" maxOccurs="1" name="ExternalReply" type="t:ReplyBody" />
     <xs:element minOccurs="0" maxOccurs="1" name="DeclineMeetingReply" type="t:ReplyBody" />
     <xs:element minOccurs="0" maxOccurs="1" name="DeclineEventsForScheduledOOF" type="xs:boolean" />
     <xs:element minOccurs="0" maxOccurs="1" name="DeclineAllEventsForScheduledOOF" type="xs:boolean" />
     <xs:element minOccurs="0" maxOccurs="1" name="CreateOOFEvent" type="xs:boolean" />
     <xs:element minOccurs="0" maxOccurs="1" name="OOFEventSubject" type="xs:string" />
     <xs:element minOccurs="0" maxOccurs="1" name="AutoDeclineFutureRequestsWhenOOF" type="xs:boolean" />
     <xs:element minOccurs="0" maxOccurs="1" name="EventsToDeleteIDs" type="t:ArrayOfEventIDType" />
   </xs:sequence>
 </xs:complexType>

The following table lists the child elements of the t:UserOofSettings complex type.

Element

Type

Description

OofState

t:OofState (section 2.2.5.2)

Indicates the user's Out of Office (OOF) status.

This element MUST be present.

ExternalAudience

t:ExternalAudience (section 2.2.5.1)

Indicates how external users are handled.

This element MUST be present.

Duration

t:Duration ([MS-OXWSCDATA] section 2.2.4.28)

Indicates the duration for which the OOF status is enabled if the OOF state in the OofState element is set to "Scheduled". The start and end times for this period of time SHOULD<1> be specified in Coordinated Universal Time (UTC).

This element can be present. It MUST be present if the OofState element is set to"Scheduled" when calling the SetUserOofSettings operation (section 3.1.4.1).

InternalReply

t:ReplyBody ([MS-OXWSCDATA] section 2.2.4.63)

Contains the body of the response OOF message that is sent to internal users.

This element can be present.

ExternalReply

t:ReplyBody

Contains the body of the response OOF message that is sent to external users.

This element can be present.

DeclineMeetingReply

t:ReplyBody ([MS-OXWSCDATA] section 2.2.4.63)

Sets the body of the response that is sent when incoming or existing meetings are automatically declined.

This element can be present.

DeclineEventsForScheduledOOF

xs:boolean ([XMLSCHEMA2])

Indicates whether some existing meetings that will occur during the scheduled OOF duration ought to be automatically declined. True indicates some existing meetings that will occur during the scheduled OOF duration are declined and removed from the calendar.

The specific meetings will be listed by the EventsToDeleteIDs element.

This element can be present.

DeclineAllEventsForScheduledOOF

xs:boolean ([XMLSCHEMA2])

Indicates whether all existing meetings that will occur during the scheduled OOF duration ought to be automatically declined. True indicates all existing meetings that will occur during the scheduled OOF duration are declined and removed from the calendar.

This element can be present.

CreateOOFEvent

xs:boolean ([XMLSCHEMA2])

Indicates whether an Out of Office (OOF) appointment ought to be created in the user’s calendar.

The subject for this event can be specified by the OOFEventSubject element.

This element can be present.

OOFEventSubject

xs:string ([XMLSCHEMA2])

Specifies the subject of the Out of Office (OOF) appointment.

This element can be present.

AutoDeclineFutureRequestsWhenOOF

xs:boolean ([XMLSCHEMA2])

Indicates whether incoming meetings that will occur during the scheduled OOF duration ought to be automatically declined. True indicate new meeting requests that are received during the scheduled time period are automatically declined.

This element can be present.

EventsToDeleteIDs

t:ArrayOfEventIDType (section 2.2.4.1)

Array containing the IDs for existing meetings that ought to be declined.

This element can be present.