Export examples

Sample Grouper Registry

XML exports from Grouper can get very large. The examples below use a small hierarchy for illustration:

Root University of Bristol Arts faculty [Staff]
[Students
Science Faculty [Staff]
[Students]+teaching,mailingList
[All students]+mailingList
[All staff]+mailingList

[] indicates a group

+ indicates custom group types assigned to a group.

The group types are defined:

Group type Field Type
mailingList alias attribute
allowAttachments attribute
approvers list
mailers list
moderated attribute
teaching academic-staff list
clerical-staff list
faculty_code attribute

Effect of command line and export options

Note that all the export properties used are listed at the end of the sample XML files

1) Simple, but complete hierarchy of Stems and Groups, without membership or privilege lists, or metadata. Key options are:

export GrouperSystem export.xml export.properties

2) Partial hierarchy of Stems and Groups, without membership or privilege lists, or metadata. Parent stems (uob) are included, but branches are not (uob:scif)

export GrouperSystem -name uob:artf export.xml export.properties 

3) Partial hierarchy of Stems and Groups, without membership or privilege lists, or metadata. Parent stems (uob) are excluded, as is the specified stem (uob:artf).

export GrouperSystem -name uob:artf -relative export.xml export.properties 

4) Partial hierarchy of Stems and Groups, without membership or privilege lists, or metadata. Parent stems (uob) are excluded, but the specified Stem is included (uob:artf).

export GrouperSystem -name uob:artf -relative -includeParent export.xml export.properties 

5) A single group, fully specified with internal and custom attributes, membership and privilege lists. Empty lists are not exported i.e. approvers. In this example, only direct members and privilegees are exported. The key options are:

export GrouperSystem -name uob:artf:students -relative export.xml export.properties 

6) Metadata, but not Stem and Group instance data is exported. The key options are:

export GrouperSystem export.xml export.properties