Previous Topic: Fields in a Modify Request

Next Topic: Propagate Global User Changes

Example of a Modify Request

The following request sets the comments attribute of User _spml_user to the string new comment.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<modifyRequest xmlns="urn:oasis:names:tc:SPML:1:0" xmlns:dsml="urn:oasis:names:tc:DSML:2:0:core">
    <identifier type="urn:oasis:names:tc:SPML:1:0#DN">
        <id>User=_spml_user,Domain=EXAMPLE_DOMAIN,Server=Server</id>
    </identifier>
    <modifications>
        <modification name="comments" operation="replace">
            <dsml:value>new comment</dsml:value>
        </modification>
    </modifications>
</modifyRequest>