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
TBS
From the command line
The dspace user
command adds, lists, modifies, and deletes EPerson records.
To create a new user account:
Code Block |
---|
|
[dspace]/bin/dspace user --add --email jquser@example.com -g John -s User
[dspace]/bin/dspace user --add --netid jquser --telephone 555-555-1234 |
One of the options --email or --netid
is required to name the record. The complete options are:
-a | --add | required |
-m | --email | email address |
-n | --netid | "netid" (a username in an external system such as a directory – see Authentication Methods for details) |
-p | --password | a password for the account. Required. |
-g | --givenname | First or given name |
-s | --surname | Last or surname |
-t | --telephone | Telephone number |
-l | --language | Preferred language |
-c | --requireCertificate | Certificate required? See X.509 Authentication for details. |
To list accounts:
Code Block |
---|
|
[dspace]/bin/dspace user --list |
This simply lists some characteristics of each EPerson.
short | long | meaning |
---|
-L | --list | required |
To modify an account:
Code Block |
---|
|
[dspace]/bin/dspace user --modify -m george@example.com |
short | long | meaning |
---|
-M | --modify | required |
-m | --email | identify the account by email address |
-n | --netid | identify the account by netid |
-g | --givenname | First or given name |
-s | --surname | Last or surname |
-t | --telephone | telephone number |
-l | --language | preferred language |
-c | --requireCertificate | certificate required? |
-C | --canLogIn | is the account enabled or disabled? |
-i | --newEmail | set or change email address |
-I | --newNetid | set or change netid |
To delete an account:
Code Block |
---|
|
[dspace]/bin/dspace user --delete -n martha |
short | long | meaning |
---|
-d | --delete | required |
-m | --email | identify the account by email address |
-n | --netid | identify the account by netid |