grouper-users - RE: [grouper-users] Bulk load groups
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: Michael McManaman <>, "" <>
- Subject: RE: [grouper-users] Bulk load groups
- Date: Wed, 13 Apr 2016 15:45:41 +0000
- Accept-language: en-US
- Authentication-results: buffalo.edu; dkim=none (message not signed) header.d=none;buffalo.edu; dmarc=none action=none header.from=isc.upenn.edu;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
Yes, gsh script.
Save this as something.gsh. Note you can add assignments for description or
display extension or whatever you want.
GrouperSession grouperSession = GrouperSession.startRootSession();
new
GroupSave(grouperSession).assignName("stem1:a").assignCreateParentStemsIfNotExist(true).save();
new
GroupSave(grouperSession).assignName("stem2:b").assignCreateParentStemsIfNotExist(true).save();
Then run with:
gsh something.gsh
Thanks,
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of Michael McManaman
Sent: Wednesday, April 13, 2016 11:03 AM
To:
Subject: [grouper-users] Bulk load groups
Is there a way to bulk load a list of groups (not group members) into a
specific folder from a flat file?
- [grouper-users] Bulk load groups, Michael McManaman, 04/13/2016
- RE: [grouper-users] Bulk load groups, Hyzer, Chris, 04/13/2016
- Re: [grouper-users] Bulk load groups, Michael McManaman, 04/13/2016
- RE: [grouper-users] Bulk load groups, Hyzer, Chris, 04/13/2016
Archive powered by MHonArc 2.6.16.