Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When a user registers an account for the purpose of subscribing to change notices, submitting content, or the like, DSpace creates an EPerson record in the database.  Administrators can manipulate these records in several ways.

Please note that when a user has submitted content, his EPerson record cannot be deleted because there are references to it from the submitted item(s).  If it is necessary to prevent further use of such an account, it can be marked "cannot log in".

From the browser:  XMLUI

TBS

From the browser:  JSPUI

...

From the browser

  • Login as an Administrator
  • Sidemenu "Access Control" → "People"
  • Browse or search for the account you wish to modify or delete.

To modify user permissions / group memberships:

  • Login as an Administrator
  • Sidemenu "Access Control" → "Groups"
  • Edit the Group
  • Search for the EPerson & add/remove them from that group.

From the command line

The user command

...

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.

shortlongmeaning
-L--listrequired

To modify an account:

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


shortlongmeaning
-M--modifyrequired
-m--emailidentify the account by email address
-n--netididentify the account by netid
-g--givennameFirst or given name
-s--surnameLast or surname
-t--telephonetelephone number
-l--languagepreferred language
-c--requireCertificatecertificate required?
-C--canLogInis the account enabled or disabled?
-i--newEmailset or change email address
-I--newNetidset or change netid

...


To delete an account:

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


shortlongmeaning
-d--deleterequired
-m--emailidentify the account by email address
-n--netididentify the account by netid

The Groomer

This tool inspects all user accounts for several conditions.

shortlongmeaning
-a--agingfind accounts not logged in since a given date
-u--unsaltedfind accounts not using salted password hashes
-b--before

date cutoff for --aging

-d--deletedelete disused accounts (used with --aging)

...


Find accounts with unsalted passwords

...