...
- Setting gsh.useLegacy = true in grouper.properties.
- Using a command line argument (gsh.sh -forceLegacyGsh)
GrouperShell is for Grouper admins. End users can script with the grouper client command line utility
Escape
Escape things in groovysh with single backslash. e.g.
...
Code Block | ||||
---|---|---|---|---|
| ||||
grouperSession = GrouperSession.startRootSession(); g = GroupFinder.findByName(sessiongrouperSession, "admin:loader_groups"); type = typeAdd("sync_group"); type.addAttribute(sessiongrouperSession, "sync_group", false, "sync"); groupAddType("admin:loader_groups", "sync_group"); g.setAttribute("sync", "true"); |
...