The Set element is an optional child element of the Oof element, the DevicePassword element, and the DeviceInformation element in Settings command requests. It sets OOF information, device password settings, or device information settings on the server.

All elements referenced in this section are defined in the Settings namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Settings command Oof request (section

Oof (section

OofState (section

StartTime (section

EndTime (section

OofMessage (section

container ([MS-ASDTYPE] section 2.2)

0...1 (optional)

Settings command DevicePassword request

DevicePassword (section

Password (section


0...1 (optional)

Settings command DeviceInformation request

DeviceInformation (section

Model (section

IMEI (section

FriendlyName (section

OS (section

OSLanguage (section

PhoneNumber (section

UserAgent (section

EnableOutboundSMS (section

MobileOperator (section


0...1 (optional)

Using the Settings command Oof request, the client can set the following:

§ OOF state

§ Start time and end time, if the user wants to schedule an OOF message

§ OOF message or messages for one or more of the supported audiences

Using the Settings command DevicePassword request, the client can set or clear the recovery password of the device.

Using the Settings command DeviceInformation request, clients SHOULD<14> send DeviceInformation parameters to the server as soon as possible after the client has been provisioned, and before the FolderSync command (section, so that the server can use this information to determine what the device has access to. Set enables the client to specify values for any of the DeviceInformation parameters. The following statements apply to the Set element request implementation:

§ The client SHOULD specify all supported DeviceInformation parameters in the Set request. An error is not returned if all DeviceInformation parameters are not set if at least one DeviceInformation parameter is set.

§ The client or server makes no assumptions about ordering. The DeviceInformation parameters can be specified in any order.

§ To delete a given DeviceInformation value, the client MUST send the Set element as an empty element.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section, or the Protocol version field, as specified in [MS-ASHTTP] section, in the request.

Protocol version

Element support