Example 6: Exporting a group
A user wants to export a group named BigGroup and any users and user groups that
are referenced by it. That user created an XML file named
exportbiggroup.xml.
To complete this task, the following command line function is
called:
arsxml export -h ARCHIVE -i exportbiggroup.xml -r d -o output.xmlThe
file exportbiggroup.xml might look like this:
<?xml version="1.0" encoding="UTF-8"?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<group name="BigGroup"/>
</onDemand>This command creates an XML file that contains the
BigGroup object and all the users and groups that are
referenced by it. Also, any users within the referenced groups are exported.