For this type of scripting I use jruby and a gem I developed that allows me to access the DSpace objects in the Java API from ruby code. The gem interacts with dspace version 5 and is available from github: jrdspace gem<https://github.com/akinom/dspace-jruby <https://github.com/akinom/dspace-jruby>>. you can see the scripts I developed at cli-dspace<https://github.com/akinom/dspace-cli <https://github.com/akinom/dspace-cli>>. For example I have a create script that given a first name , last name and netid creates an EPerson record - see
https://github.com/akinom/dspace-cli/blob/master/netid/create.rb#L13-L21 <https://github.com/akinom/dspace-cli/blob/master/netid/create.rb#L13-L21> If you are interested in using this - I’d be glad to answer any question you have. Monika ________________ Monika Mevenkamp [email protected] http://mo-meven.tumblr.com/ http://mcmprogramming.com/mo.meven/ > On Sep 22, 2017, at 10:12 AM, Brendow Adriel <[email protected]> wrote: > > I wanted to import users and already defined them into specific groups of > users. > > Is it possible to import a list of users using dspace without using an insert > in the database? > > > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/dspace-tech > <https://groups.google.com/group/dspace-tech>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
