Previous Topic: Example: Search for Attributes Defined in Global Settings

Next Topic: Account Containers

Example: Modify Attributes in Global Settings

Here is an example of how to modify attributes defined in global settings. Note that the ID string “Server=Server” identifies the global settings object.

<?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>Server=Server</id>
    </identifier>
    <modifications>
        <modification name="autoGenerateUIDs" operation="replace">
            <dsml:value>true</dsml:value>
        </modification>
        <modification name="autoGenerateUIDsForNewUsers" operation="replace">
            <dsml:value>true</dsml:value>
        </modification>
        <modification name="numberOptionalSelfAuthProperties" operation="replace">
            <dsml:value>5</dsml:value>
        </modification>
        <modification name="numberSelfAuthQuestions" operation="replace">
            <dsml:value>4</dsml:value>
        </modification>
        <modification name="selfAuthEnabled" operation="replace">
            <dsml:value>1</dsml:value>
        </modification>
    </modifications>
</modifyRequest>