...
Type | Variable | Value | ||
---|---|---|---|---|
GshTemplateOutput | gsh_builtin_gshTemplateOutput | Object that helps print output, notify about validation errors, or identify that an error occurred Do not navigate after running template (or put another link in there)
| ||
GshTemplateRuntime | gsh_builtin_gshTemplateRuntime | Internal object that is used to help with other variables | ||
GrouperSession | gsh_builtin_grouperSession | Session based on who the template is running is (this is configured, recommended to be the user who is running the template) | ||
Subject | gsh_builtin_subject | Subject who is running the template | ||
String | gsh_builtin_subjectId | Subject ID of gsh_builtin_subject | ||
String | gsh_builtin_ownerStemName | Folder name of the folder where the script is run (if stem script, otherwise null) | ||
String | gsh_builtin_ownerGroupName | Group name for the group where the script was run (if group script, otherwise null) | ||
String | gsh_input_XXXXXX | String inputs | ||
Integer | gsh_input_YYYYYYY | Integer inputs | ||
Boolean | gsh_input_ZZZZZZZ | Boolean inputs |
Code Block |
---|
import edu.internet2.middleware.grouper.app.gsh.template.*; import edu.internet2.middleware.grouper.util.*; GshTemplateOutput gsh_builtin_gshTemplateOutput = GshTemplateOutput.retrieveGshTemplateOutput(); GshTemplateRuntime gsh_builtin_gshTemplateRuntime = GshTemplateRuntime.retrieveGshTemplateRuntime(); GrouperSession gsh_builtin_grouperSession = gsh_builtin_gshTemplateRuntime.getGrouperSession(); Subject gsh_builtin_subject = gsh_builtin_gshTemplateRuntime.getCurrentSubject(); String gsh_builtin_subjectId = \"subjectSubjectId\"; String gsh_builtin_ownerStemName = \"a:b:c\"; String gsh_input_workingGroupExtension = \"test\"; Integer gsh_input_theSize = 55; Boolean gsh_input_isSympaModerated = false; ... the configured script ... |
...