Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Bulk load groups

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Bulk load groups


Chronological Thread 
  • From: Michael McManaman <>
  • To: "Hyzer, Chris" <>, "" <>
  • Subject: Re: [grouper-users] Bulk load groups
  • Date: Wed, 13 Apr 2016 13:41:48 -0400

On 04/13/2016 11:45 AM, Hyzer, Chris wrote:
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?

Thanks!




Archive powered by MHonArc 2.6.16.

Top of Page