Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Include Page
spaceKeyGrouper
pageTitleNavigation

GrouperShell (gsh)

...

gsh is a command line shell for administering and interacting with the Grouper API. It can be used in both a batch and interactive manner.  It is built on Java BeanShell

...

You can use GroupSave as an alternate way:

Code Block
 new GroupSave(grouperSession).assignName("stem1:a").assignCreateParentStemsIfNotExist(true).save();

...

v2.0: to sync up the point in time tables with regular tables, run this:

Code Block
 new edu.internet2.middleware.grouper.misc.SyncPITTables().syncAllPITTables()

To create missing group sets:

Code Block
 new edu.internet2.middleware.grouper.misc.AddMissingGroupSets().addAllMissingGroupSets();

...