EPrints Technical Mailing List Archive

Message: #01530


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Cleaning database up


David,

I wouldn't change the userid field - this provides internal relations between objects (e.g. eprint.userid etc). Updating that field everywhere is a big task, and I'm not sure what you'd achieve by doing so.

If you need to add extra info to the user objects, simply add a new field to the user dataset.

Seb.

On 06/02/13 15:17, David Whitehead wrote:
Hi Seb,

thanks for your help Seb you'v given me some great information about the API's. I just had one last question I wanted to ask you about the EPrint API's, once the database has been somewhat cleaned via the script, I am looking to change userid's into a different value for the university which makes more sense then the auto increment method, I have already written the ldap script and database file changes to do this but I need to modify the existing users already in the database to the same structure. Is there any Eprint API which would allow me to update a users userid and then trickle it down into their EPrints, saved searches, indexs etc?

Kind regards,

David Whitehead