Tip 1: Child objects must be created under parent objects
In the XML interface, it is only possible to have child objects under parent
objects, not the other way around. For example, the following XML file example
is valid:
<group name="MyGroup">
<user name="tom" />
<user name="chuck" />
</group>
However, this example is not valid:
<user name="tom">
<group name="MyGroup">
</group>
</user>
The same is true for permissions for users and groups. They
are child objects under the application group and folder objects. For example,
to add a folder that contains permission for the user Bill, the XML file might
look like this:
<folder name="MyFolder"...>
<permission user="Bill" accessAuthority="Yes"
viewNQAuthority="Yes" maxHits="No Limit" />
...
</folder>