Setting a Security Policy Example for OMA DM
4/8/2010
The following XML example can be used as templates to configure settings for the SecurityPolicy Configuration Service Provider.
Code Example
The following example sets the security policy 4111 to 0.
<CmdID>1</CmdID>
<Replace>
<CmdID>Change the policy </CmdID>
<Item>
<Target><LocURI>./Vendor/MSFT/SecurityPolicy/4111</LocURI></Target>
<Meta>
<Format xmlns="syncml:metinf">int</Format>
</Meta>
<Data>0</Data>
</Item>
</Replace>
Remarks
One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file.**
See Also
Other Resources
SecurityPolicy Configuration Service Provider Examples for OMA DM