Merged PR 10109: Added SyncML examples to WindowsLicensing CSP

This commit is contained in:
Maricia Alforque 2018-07-26 18:18:32 +00:00
parent 57eedc4b6f
commit 4017888183
2 changed files with 145 additions and 7 deletions

View File

@ -10,7 +10,7 @@ ms.topic: article
ms.prod: w10 ms.prod: w10
ms.technology: windows ms.technology: windows
author: MariciaAlforque author: MariciaAlforque
ms.date: 07/23 /2018 ms.date: 07/23/2018
--- ---
# What's new in MDM enrollment and management # What's new in MDM enrollment and management
@ -1638,12 +1638,16 @@ The DM agent for [push-button reset](https://msdn.microsoft.com/windows/hardware
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td style="vertical-align:top">[EnterpriseModernAppManagement CSP](enterprisemodernappmanagement-csp.md)</td>
<td style="vertical-align:top"><p>Added NonRemovable setting under AppManagement node.</p>
</td></tr>
<tr>
<td style="vertical-align:top">[Win32CompatibilityAppraiser CSP](win32compatibilityappraiser-csp.md)</td> <td style="vertical-align:top">[Win32CompatibilityAppraiser CSP](win32compatibilityappraiser-csp.md)</td>
<td style="vertical-align:top"><p>Added new configuration service provider.</p> <td style="vertical-align:top"><p>Added new configuration service provider.</p>
</td></tr> </td></tr>
<tr> <tr>
<td style="vertical-align:top">[WindowsLicensing CSP](windowslicensing-csp.md)</td> <td style="vertical-align:top">[WindowsLicensing CSP](windowslicensing-csp.md)</td>
<td style="vertical-align:top"><p>Added S mode settings.</p> <td style="vertical-align:top"><p>Added S mode settings and SyncML examples.</p>
</td></tr> </td></tr>
<tr> <tr>
<td style="vertical-align:top">[SUPL CSP](supl-csp.md)</td> <td style="vertical-align:top">[SUPL CSP](supl-csp.md)</td>
@ -1687,7 +1691,7 @@ The DM agent for [push-button reset](https://msdn.microsoft.com/windows/hardware
</ul> </ul>
<p>Recent changes:</p> <p>Recent changes:</p>
<ul> <ul>
<li>DataUsage/SetCost3G - deprecated in RS5.</li> <li>DataUsage/SetCost3G - deprecated in Windows 10, next major version.</li>
</ul> </ul>
</td></tr> </td></tr>
</tbody> </tbody>

View File

@ -7,7 +7,7 @@ ms.topic: article
ms.prod: w10 ms.prod: w10
ms.technology: windows ms.technology: windows
author: MariciaAlforque author: MariciaAlforque
ms.date: 07/16/2018 ms.date: 07/25/2018
--- ---
# WindowsLicensing CSP # WindowsLicensing CSP
@ -164,7 +164,7 @@ The supported operation is Get.
Interior node for managing S mode. Interior node for managing S mode.
<a href="" id="smode-switchingpolicy"></a>**SMode/SwitchingPolicy** <a href="" id="smode-switchingpolicy"></a>**SMode/SwitchingPolicy**
Added in Windows 10, next major version. Determines whether a consumer can switch the device out of S mode. This setting is only applicable to devices available in S mode. Added in Windows 10, next major version. Determines whether a consumer can switch the device out of S mode. This setting is only applicable to devices available in S mode. For examples, see [Add S mode SwitchingPolicy](#smode-switchingpolicy-add), [Get S mode SwitchingPolicy](#smode-switchingpolicy-get), [Replace S mode SwitchingPolicy](#smode-switchingpolicy-replace) and [Delete S mode SwitchingPolicy](#smode-switchingpolicy-delete)
Value type is integer. Supported operations are Add, Get, Replace, and Delete. Value type is integer. Supported operations are Add, Get, Replace, and Delete.
@ -173,12 +173,12 @@ Supported values:
- 1 - User Blocked: The admin has blocked the user from switching their device out of S mode. Only the admin can switch the device out of S mode through the SMode/SwitchFromSMode node. - 1 - User Blocked: The admin has blocked the user from switching their device out of S mode. Only the admin can switch the device out of S mode through the SMode/SwitchFromSMode node.
<a href="" id="smode-switchfromsmode"></a>**SMode/SwitchFromSMode** <a href="" id="smode-switchfromsmode"></a>**SMode/SwitchFromSMode**
Added in Windows 10, next major version. Switches a device out of S mode if possible. Does not reboot. Added in Windows 10, next major version. Switches a device out of S mode if possible. Does not reboot. For an example, see [Execute SwitchFromSMode](#smode-switchfromsmode-execute)
Supported operation is Execute. Supported operation is Execute.
<a href="" id="smode-status"></a>**SMode/Status** <a href="" id="smode-status"></a>**SMode/Status**
Added in Windows 10, next major version. Returns the status of the latest SwitchFromSMode set request. Added in Windows 10, next major version. Returns the status of the latest SwitchFromSMode set request. For an example, see [Get S mode status](#smode-status-example)
Value type is integer. Supported operation is Get. Value type is integer. Supported operation is Get.
@ -315,6 +315,140 @@ Value type is integer. Supported operation is Get.
</SyncML> </SyncML>
``` ```
<a href="" id="smode-status-example"></a>**Get S mode status**
```
<SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody>
<Get>
<CmdID>6</CmdID>
<Item>
<Target>
<LocURI>
./Vendor/MSFT/WindowsLicensing/SMode/Status
</LocURI>
</Target>
</Item>
</Get>
<Final/>
</SyncBody>
</SyncML>
```
<a href="" id="smode-switchfromsmode-execute"></a>**Execute SwitchFromSMode**
```
<SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody>
<Exec>
<CmdID>5</CmdID>
<Item>
<Target>
<LocURI>
./Vendor/MSFT/WindowsLicensing/SMode/SwitchFromSMode
</LocURI>
</Target>
<Meta>
<Format xmlns="syncml:metinf">null</Format>
<Type>text/plain</Type>
</Meta>
<Data></Data>
</Item>
</Exec>
<Final/>
</SyncBody>
</SyncML>
```
<a href="" id="smode-switchingpolicy-add"></a>**Add S mode SwitchingPolicy**
```
<SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody>
<Add>
<CmdID>4</CmdID>
<Item>
<Target>
<LocURI>
./Vendor/MSFT/WindowsLicensing/SMode/SwitchingPolicy
</LocURI>
</Target>
<Meta>
<Format xmlns="syncml:metinf">int</Format>
<Type>text/plain</Type>
</Meta>
<Data>1</Data>
</Item>
</Add>
<Final/>
</SyncBody>
</SyncML>
```
<a href="" id="smode-switchingpolicy-get"></a>**Get S mode SwitchingPolicy**
```
<SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody>
<Get>
<CmdID>2</CmdID>
<Item>
<Target>
<LocURI>
./Vendor/MSFT/WindowsLicensing/SMode/SwitchingPolicy
</LocURI>
</Target>
</Item>
</Get>
<Final/>
</SyncBody>
</SyncML>
```
<a href="" id="smode-switchingpolicy-replace"></a>**Replace S mode SwitchingPolicy**
```
<SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody>
<Replace>
<CmdID>1</CmdID>
<Item>
<Target>
<LocURI>
./Vendor/MSFT/WindowsLicensing/SMode/SwitchingPolicy
</LocURI>
</Target>
<Meta>
<Format xmlns="syncml:metinf">int</Format>
<Type>text/plain</Type>
</Meta>
<Data>1</Data>
</Item>
</Replace>
<Final/>
</SyncBody>
</SyncML>
```
<a href="" id="smode-switchingpolicy-delete"></a>**Delete S mode SwitchingPolicy**
```
<SyncML xmlns="SYNCML:SYNCML1.2">
<SyncBody>
<Delete>
<CmdID>3</CmdID>
<Item>
<Target>
<LocURI>
./Vendor/MSFT/WindowsLicensing/SMode/SwitchingPolicy
</LocURI>
</Target>
</Item>
</Delete>
<Final/>
</SyncBody>
</SyncML>
```
## Related topics ## Related topics