Introducing the GetUserOofSettings Method

You can get your OOF settings with Exchange Web Services by calling the GetUserOofSettings Web method. To call the GetUserOofSettings Web method via XML, you supply a GetUserOofSettingsRequest element in your call. The schema type for a GetUserOofSettingsRequest element is also named GetUserOofSettingsRequest and is shown in Example 22-13.

Example 22-13. Schema for the GetUserOofSettingsRequest type

<xs:complexType name="GetUserOofSettingsRequest">
  <xs:complexContent mixed="false">
    <xs:extension base="m:BaseRequestType">
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" ref="t:Mailbox" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

The Mailbox element in your GetUserOofSettingsRequest ...

Get Inside Microsoft® Exchange Server 2007 Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.