Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] Fixed README file for group manager

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] Fixed README file for group manager


Chronological Thread 
  • From: Tom Barton <>
  • To:
  • Cc:
  • Subject: Re: [grouper-dev] Fixed README file for group manager
  • Date: Wed, 15 Jun 2005 06:50:11 -0500

Indeed! Thanks Simon. -Tom

Simon McLeish wrote:
Hi,

I noticed that all the java calls given in the README file for the group
manager app left out the class name. I've added them to the attached
version.

Cheers,
Simon


------------------------------------------------------------------------


# Program to add and delete groups and memberships.

This code was contributed by The University Of Chicago.

$Id: README,v 1.8 2005/04/08 16:46:04 blair Exp $

---

## Build

% cd $GROUPER_BASE/load/groupmgr
% ant

--

## Run

% cd $GROUPER_BASE/load/groupmgr
% export
CLASSPATH=.:/path/to/Grouper.jar:/path/to/Grouper-lib.jar:/path/to/grouper/conf/dir
% java groupmgr -h

Add a top-level namespace _test_:

% java groupmgr -a -n -s Grouper.NS_ROOT -e test

Add a group within _test_:

% java groupmgr -a -g -s test -e foo

Remove a group within _test_:

% java groupmgr -d -g -s test -e bar

Add a member:

% java groupmgr -a -m johndoe -s -test -e foo
Add a group as a member:

% java groupmgr -a -G -m test:baz -s -test -e foo
Delete a member

% java groupmgr -d -m johndoe -s -test -e foo
Delete a group as a member:

% java groupmgr -d -G -m test:baz -s -test -e foo



Archive powered by MHonArc 2.6.16.

Top of Page