O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required