Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Way to update subjects via GSH

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Way to update subjects via GSH

Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Michael McManaman <>, "" <>
  • Subject: RE: [grouper-users] Way to update subjects via GSH
  • Date: Fri, 15 Apr 2016 16:57:12 +0000
  • Accept-language: en-US
  • Authentication-results:; dkim=none (message not signed) header.d=none;; dmarc=none action=none;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

RegistrySubject registrySubject =
GrouperDAOFactory.getFactory().getRegistrySubject().find("user1a", "person",
registrySubject.setName("New name");

-----Original Message-----

On Behalf Of Michael McManaman
Sent: Friday, April 15, 2016 11:52 AM

Subject: [grouper-users] Way to update subjects via GSH

Hello everybody.

I've been bulk loading users (subjects?) from a flat file with gsh
Basically I've been using the addSubject command; and the flat-file
datafeed I've been using has a default value of 'NA' for users whose
names are not provided.

So a lot of the adds look something like this:


Now I have an updated datafeed with updated user names, so I can replace
the "NA" with a real value.

Is there a way I can bulk update the subjects I initially created with a
name value of "NA"?

I may be missing something in the documentation, but i'm not seeing a
way to do this via gsh...?

Any help would be much appreciated.

Archive powered by MHonArc 2.6.16.

Top of Page