SetUserOofSettingsRequest

SetUserOofSettingsRequest 要素には、メールボックス ユーザーの Out of Office (OOF) 設定を設定するために使用される引数が含まれています。

<SetUserOofSettingsRequest>
   <Mailbox>...</Mailbox>
   <UserOofSettings>...</UserOofSettings>
<SetUserOofSettingsRequest>

SetUserOofSettingsRequest

属性と要素

以下のセクションで、属性、子要素、親要素について説明します。

属性

なし。

子要素

Element 説明
Mailbox (Availability)
SetUserOofSettings または GetUserOofSettings 要求のメールボックス ユーザーを識別します。
UserOofSettings
OOF 設定を指定します。

親要素

なし。

注釈

この要素を記述するスキーマは、クライアント アクセス サーバーの役割がインストールされている MicrosoftExchange Server 2007 を実行しているコンピューターの EWS 仮想ディレクトリにあります。

SetUserOofSettings 要求の次の例では、OOF 設定を 10 日間設定します。

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SetUserOofSettingsRequest xmlns="https://schemas.microsoft.com/exchange/services/2006/messages">
      <Mailbox xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
        <Name>David Alexander</Name>
        <Address>someone@example.com</Address>
        <RoutingType>SMTP</RoutingType>
      </Mailbox>
      <UserOofSettings xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
        <OofState>Enabled</OofState>
        <ExternalAudience>All</ExternalAudience>
        <Duration>
          <StartTime>2005-10-05T00:00:00</StartTime>
          <EndTime>2005-10-25T00:00:00</EndTime>
        </Duration>
        <InternalReply>
          <Message>I am out of office.  This is my internal reply.</Message>
        </InternalReply>
        <ExternalReply>
          <Message>I am out of office. This is my external reply.</Message>
        </ExternalReply>
      </UserOofSettings>
    </SetUserOofSettingsRequest>
  </soap:Body>
</soap:Envelope>

要素の情報

名前 Value
Namespace
https://schemas.microsoft.com/exchange/services/2006/messages
スキーマ名
メッセージ スキーマ
検証ファイル
Messages.xsd
空に設定可能
False

関連項目