Writing xml configuration files, Changealluserpassword.xml, Changeuserpassword.xml – Dell Latitude E4310 (Mid 2010) User Manual

Page 3: Deleteallusers.xml, Deleteuser.xml

Advertising
background image

Back to Contents Page

Writing XML Configuration Files

Latitude ON Flash allows you to remotely configure the settings using XML. This section of the document provides a few

sample XML codes for remote configuration.

NOTE:

You must write the XML commands using a text editor before you start configuring Latitude ON Flash.

ChangeAllUserPassword.xml

The following code allows you to ensure that all the users change their passwords at first log in, after the remote settings are

dispatched:

<?xml version="1.0" encoding="utf-8"?>
<cmdstore xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=" DVMRemoteCmd.xsd">
<cmd>
<allUser action="changeUser"></allUser>
</cmd>
</cmdstore>

ChangeUserPassword.xml

The following code allows a specific user to change his/her password:

<?xml version="1.0" encoding="utf-8"?>
<cmdstore xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=" DVMRemoteCmd.xsd">
<cmd>
<allUser action="changeUser"></allUser>
</cmd>
</cmdstore>

If the statement

<singleUser action="changePassword" user="User">

above is changed to

<singleUser

action="changePassword" user="User1">

, then the user of the User1 account will be asked to change his password the

next time he logs into the system.

DeleteAllUsers.xml

The following code deletes all users (except the default user):


<?xml version="1.0" encoding="utf-8"?>
<cmdstore xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="
DVMRemoteCmd.xsd">
<cmd>
<allUser action="deleteUser"></allUser>
</cmd>
</cmdstore>

DeleteUser.xml

The following code deletes a specific user account (User):

<?xml version="1.0" encoding="utf-8"?>

Advertising
This manual is related to the following products: