11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If the message was sent successfully, the server returns an empty response.<br />

HTTP/1.1 200 OK<br />

Date: Thu, 03 Sep 2009 21:05:44 GMT<br />

Content-Length: 0<br />

2.2.2.16 Settings<br />

The Settings command supports get and set operations on global properties and Out of Office<br />

(OOF) settings for the user. The Settings command also sends device information to the server,<br />

implements the device password/personal identification number (PIN) recovery, and retrieves a list<br />

of the user's e-mail addresses.<br />

The Get (section 2.2.3.71) and Set (section 2.2.3.142) operations act on named properties. In<br />

the context of the Get and Set operations, each named property can contain a set of propertyspecific<br />

data nodes.<br />

The Settings command can contain multiple Get and Set requests and responses in any order. The<br />

implication of this batching mechanism is that commands are executed in the order in which they<br />

are received and that the ordering of Get and Set responses will match the order of those<br />

commands in the request.<br />

The following is the generic form of the Settings request, where "PropertyName" is a named<br />

property (that is, the actual name of the property).<br />

<br />

<br />

Data nodes<br />

<br />

...<br />

<br />

The Settings command can be used on the following named properties:<br />

•OOF (section 2.2.3.104)<br />

•DevicePassword (section 2.2.3.44)<br />

•DeviceInformation (section 2.2.3.43)<br />

•UserInformation (section 2.2.3.165)<br />

Clients SHOULD send DeviceInformation parameters in a Set block to the server as soon as the<br />

client has been provisioned, and before the FolderSync command (section 2.2.2.4), so that the<br />

server can use this information to determine what the device has access to.<br />

The argument or data nodes are Get or Set, which can also have their own arguments. It is up to<br />

the individual property handlers to parse and interpret them as necessary.<br />

It is possible to have between 0 (zero) and 4 "PropertyName" elements in a Settings request (that<br />

is, each of the four named properties can appear zero or one time in a request). Each property<br />

MUST be processed in order. There can be cases in which one property call affects another property<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011<br />

68 / 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!