SetUserOofSettingsRequest
Published: July 16, 2012
Applies to: Exchange 2013 | Exchange Online | Exchange Server 2007 | Exchange Server 2010
The SetUserOofSettingsRequest element contains the arguments used to set a mailbox user's Out of Office (OOF) settings.
<SetUserOofSettingsRequest> <Mailbox>...</Mailbox> <UserOofSettings>...</UserOofSettings> <SetUserOofSettingsRequest>
SetUserOofSettingsRequest
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child elements
Element | Description |
|---|---|
Identifies the mailbox user for a SetUserOofSettings or GetUserOofSettings request. | |
Specifies the OOF settings. |
Parent elements
None.
The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.
The following example of a SetUserOofSettings request sets an OOF setting for ten days.
<?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="http://schemas.microsoft.com/exchange/services/2006/messages">
<Mailbox xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
<Name>David Alexander</Name>
<Address>someone@example.com</Address>
<RoutingType>SMTP</RoutingType>
</Mailbox>
<UserOofSettings xmlns="http://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>
Namespace | http://schemas.microsoft.com/exchange/services/2006/messages |
Schema Name | Messages schema |
Validation File | Messages.xsd |
Can be Empty | False |
Reference
Date | Description |
|---|---|
July 16, 2012 | Initial publication |