Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added password attribute to the example, since the doc is saying it's mandatory

...

To create a new user account:

Code Block
languagebash
[dspace]/bin/dspace user --add --email jquser@example.com -g John -s User --password hiddensecret
[dspace]/bin/dspace user --add --netid jquser --telephone 555-555-1234 --password hiddensecret

One of the options --email or --netid is required to name the record.  The complete options are:

-a--addrequired
-m--emailemail address
-n--netid"netid" (a username in an external system such as a directory – see Authentication Methods for details)
-p--passworda password for the account.  Required.
-g--givennameFirst or given name
-s--surname

Last or surname

-t--telephoneTelephone number
-l--languagePreferred language
-c--requireCertificateCertificate required?  See X.509 Authentication for details.

To list accounts:

Code Block
languagebash
[dspace]/bin/dspace user --list

This simply lists some characteristics of each EPerson.

...

To modify an account:

Code Block
languagebash
[dspace]/bin/dspace user --modify -m george@example.com

...

To delete an account:

Code Block
languagebash
[dspace]/bin/dspace user --delete -n martha

...