GetUserOofSettingsRequest

GetUserOofSettingsRequest 元素是根元素,其中包含用于获取邮箱用户的外出 (OOF) 设置的参数。

<GetUserOofSettingsRequest>
   <Mailbox>...</Mailbox>
</GetUserOofSettingsRequest>

GetUserOofSettingsRequest

属性和元素

下面各部分介绍了属性、子元素和父元素。

Attributes

无。

子元素

元素 说明
Mailbox (Availability)
标识 SetUserOofSettings 或 GetUserOofSettings 请求的邮箱用户。

父元素

无。

说明

描述此元素的架构位于正在运行 MicrosoftExchange Server 2007 的计算机(已安装客户端访问服务器角色)的 EWS 虚拟目录中。

示例

下面是获取单个用户的 OOF 信息的 GetUserOofSettings 请求的示例。

<?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>
    <GetUserOofSettingsRequest 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>
    </GetUserOofSettingsRequest>
  </soap:Body>
</soap:Envelope>

元素信息

名称
命名空间
https://schemas.microsoft.com/exchange/services/2006/messages
架构名称
消息架构
验证文件
Messages.xsd
可以为空
False

另请参阅

GetUserOofSettings 操作