Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Re: constructing GSH commands from the Grouper API

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Re: constructing GSH commands from the Grouper API

Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Scott Koranda <>, grouper-users <>
  • Subject: RE: [grouper-users] Re: constructing GSH commands from the Grouper API
  • Date: Fri, 23 Jun 2017 18:56:50 +0000
  • Accept-language: en-US
  • Authentication-results:; dkim=none (message not signed) header.d=none;; dmarc=none action=none;
  • Ironport-phdr: 9a23:i7aZdBxvandVVx7XCy+O+j09IxM/srCxBDY+r6Qd0e4VIJqq85mqBkHD//Il1AaPBtqLra8cw8Pt8IneGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2TxTor3az9T8fHAnkfUowf7ytW92as8Pi7Ou154GbQAJSjTyxaPsmNxaxtwzXusA+jo5rK6J3wRzM9D8AdP5R2HtlPxeOhBvm/Y/k84Rk7jxdobc87MNaSo37ebg1V7pVEG5gPmwosp7Frx7GGEGv92kRSCFeuRpSAhOPpEX/VZfgoCbgnutm02+HJcDwS/Y5VSn0vPQjcwPhlCpSb21xy2rQkMElyfsD+B8=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

I committed a new version of the 2.3 javadoc:


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

On Behalf Of Scott Koranda
Sent: Thursday, June 22, 2017 5:15 PM
To: grouper-users
Subject: [grouper-users] Re: constructing GSH commands from the Grouper API

> Hi,
> On this wiki page for GSH
> I read
> "Any Grouper API method can be directly invoked just by referencing it,
> inclusive of the class in which it is defined."
> Suppose I want to construct a GSH command or script that finds all
> composite owner groups under a particular stem. How do I inspect the
> Grouper API, other than browsing through GitHub, to find available
> methods that will help me construct the GSH command(s)?
> Is there an up-to-date Javadoc somewhere?

Apologies for answering my own question.

I did not find an online API Javadoc, but the following process worked:

- Browse to the Internet2/Grouper GitHub repository at

- Download the current repository. I recommend downloading it rather
than trying to clone it since it is surprisingly large (binary jar
files in it?). Unless you plan to hack the code, a download will be

- Unzip/untar the downloaded repository and with your web browser browse


There you can more easily track down classes and their methods.

- If you want to inspect the source code for the "helper" methods that
"live" inside of GSH (like the ones you find in the wiki at

) to understand what they are doing at a lower level,
you can find them defined in


in the source tree you downloaded, or via GitHub at

Scott K

Archive powered by MHonArc 2.6.19.

Top of Page