Re: [Dspace-tech] eperson and groups

2015-05-22 Thread helix84
On Fri, May 22, 2015 at 9:07 AM, Vegard Korvald wrote: > Is it possible to make groups with the CLI, similar to the «user» > command for creating users, or in any other way script this behavior? > Well again, not currently using CLI, but using SQL. This used to be just one insert, now it's two.

Re: [Dspace-tech] eperson and groups

2015-05-22 Thread Vegard Korvald
:57 PM To: Vegard Korvald Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] eperson and groups On Thu, May 21, 2015 at 12:22 PM, Vegard Korvald mailto:vegard.korv...@usit.uio.no>> wrote: I used "SELECT * FROM epersongroup " to get the IDs, but I couldn

Re: [Dspace-tech] eperson and groups

2015-05-21 Thread Vegard Korvald
rge.net >Subject: Re: [Dspace-tech] eperson and groups > > >Dear Vergard, > >Perhaps this one will help. in your command line type the following then >(enter) > >/dspace/bin/dspace user -a -m sam...@yourdomain.com -g yourname -s >surname >User -p yourpassword > >sa

Re: [Dspace-tech] eperson and groups

2015-05-21 Thread Daniel Francis
Dear Vergard, Perhaps this one will help. in your command line type the following then (enter) /dspace/bin/dspace user -a -m sam...@yourdomain.com -g yourname -s surname User -p yourpassword sam...@yourdomain.com (email address) yourname (given name) surname (your surname) yourpassword (pass

Re: [Dspace-tech] eperson and groups

2015-05-21 Thread helix84
On Thu, May 21, 2015 at 12:22 PM, Vegard Korvald wrote: > I used "SELECT * FROM epersongroup " to get the IDs, but I couldn't seem > to find the corresponding group name in the database. To find the name I > had to look it up as an admin on our DSpace page under Access > Control->Groups. Is there

Re: [Dspace-tech] eperson and groups

2015-05-21 Thread Vegard Korvald
: Vegard Korvald >Cc: dspace-tech@lists.sourceforge.net >Subject: Re: [Dspace-tech] eperson and groups > >I don't think it's doable with the currently available CLI commands in DSpace: >https://wiki.duraspace.org/display/DSDOC5x/Managing+User+Accounts > > >You could, ho

Re: [Dspace-tech] eperson and groups

2015-05-19 Thread helix84
I don't think it's doable with the currently available CLI commands in DSpace: https://wiki.duraspace.org/display/DSDOC5x/Managing+User+Accounts You could, however, use a CLI SQL client (psql) to manipulate membership in the epersongroup2eperson table. You can find out the user and group IDs from